  class Search(BuiltinLookup):
      lookup_name = 'search'
  
      def as_sql(self, compiler, connection):
          lhs, lhs_params = self.process_lhs(compiler, connection)
          rhs, rhs_params = self.process_rhs(compiler, connection)
          sql_template = connection.ops.fulltext_search_sql(field_name=lhs)
          return sql_template, lhs_params + rhs_params
  Field.register_lookup(Search)
 
</s>
        warnings.warn(
            'The `__search` lookup is deprecated. See the 1.10 release notes '
            'for how to replace it.', RemovedInDjango20Warning, stacklevel=2
        )
  class Search(BuiltinLookup):
      lookup_name = 'search'
  
      def as_sql(self, compiler, connection):
        warnings.warn(
            'The `__search` lookup is deprecated. See the 1.10 release notes '
            'for how to replace it.', RemovedInDjango20Warning, stacklevel=2
        )
          lhs, lhs_params = self.process_lhs(compiler, connection)
          rhs, rhs_params = self.process_rhs(compiler, connection)
          sql_template = connection.ops.fulltext_search_sql(field_name=lhs)
          return sql_template, lhs_params + rhs_params
  Field.register_lookup(Search)
keep keep keep add keep keep keep keep keep
 Fixed #26285 -- Deprecated the MySQL-specific __search lookup.
django/db/models/lookups.py