Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr keyword Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AugAssignBitAnd NameStore BinOpBitOr BinOpBitOr Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore ListLoad NameLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword TupleLoad NameLoad keyword TupleLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword TupleLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword Dict Str Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword TupleLoad Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str Return Call AttributeLoad NameLoad attr keyword TupleLoad Str keyword TupleLoad Str Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword Dict Str Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword TupleLoad Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr NameLoad comprehension NameStore Call AttributeLoad Call NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad Str attr keyword NameLoad comprehension NameStore Call AttributeLoad Call NameLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str For TupleStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr keyword TupleLoad Str keyword TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword Dict Str Str keyword TupleLoad NameLoad NameLoad NameLoad keyword TupleLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str Return Call AttributeLoad NameLoad attr keyword TupleLoad Str keyword TupleLoad Str Str Call AttributeLoad Str attr keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr keyword Dict Str Str keyword TupleLoad NameLoad NameLoad NameLoad keyword TupleLoad Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad If CompareGt NameLoad Num body Return Call NameLoad If CompareGt NameLoad Num body Return Call NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad Return Call NameLoad decorator_list decorator_list
N/A N/A Search backends used by django-watson. __future__ unicode_literals N/A abc N/A re django.contrib.contenttypes.models ContentType django.db connection transaction django.db.models Q django.utils.encoding force_text django.utils six watson.models SearchEntry has_int_pk regex_from_word N/A N/A word N/A N/A N/A Generates a regext from the given search word. N/A N/A N/A (\s{word})|(^{word}) format word N/A N/A re escape word N/A N/A RE_SPACE N/A N/A re compile [\s]+ N/A re UNICODE N/A RE_NON_WORD N/A N/A re compile [&:"(|)!><~*+-] N/A re UNICODE escape_query N/A N/A text N/A N/A N/A 
    normalizes the query text to a format that can be consumed
    by the backend database
     N/A text N/A force_text text N/A text N/A N/A RE_SPACE sub text N/A text N/A N/A RE_NON_WORD sub text N/A text N/A N/A text strip N/A text N/A SearchBackend N/A N/A N/A six with_metaclass N/A abc ABCMeta N/A N/A Base class for all search backends. is_installed N/A N/A self N/A N/A N/A Checks whether django-watson is installed. N/A True N/A do_install N/A N/A self N/A N/A N/A Executes the SQL needed to install django-watson. N/A N/A do_uninstall N/A N/A self N/A N/A N/A Executes the SQL needed to uninstall django-watson. N/A N/A N/A requires_installation False N/A supports_ranking False N/A supports_prefix_matching False do_search_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Ranks the given queryset according to the relevance of the given search text. N/A N/A N/A queryset extra select N/A watson_rank 1 N/A do_search N/A N/A self engine_slug queryset search_text N/A N/A N/A Filters the given queryset according the the search logic for this backend. N/A NotImplementedError N/A N/A abc abstractmethod do_filter_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Ranks the given queryset according to the relevance of the given search text. N/A N/A N/A queryset extra select N/A watson_rank 1 N/A do_filter N/A N/A self engine_slug queryset search_text N/A N/A N/A Filters the given queryset according the the search logic for this backend. N/A NotImplementedError N/A N/A abc abstractmethod N/A RegexSearchMixin N/A N/A N/A six with_metaclass N/A abc ABCMeta N/A N/A Mixin to adding regex search to a search backend. N/A supports_prefix_matching True do_search N/A N/A self engine_slug queryset search_text N/A N/A N/A Filters the given queryset according the the search logic for this backend. N/A word_query N/A Q N/A word N/A N/A search_text split N/A N/A regex N/A regex_from_word word N/A word_query N/A N/A N/A Q title__iregex regex N/A Q description__iregex regex N/A Q content__iregex regex N/A N/A N/A queryset filter word_query N/A do_filter N/A N/A self engine_slug queryset search_text N/A N/A N/A Filters the given queryset according the the search logic for this backend. N/A model N/A queryset model N/A db_table N/A N/A N/A connection ops quote_name N/A N/A SearchEntry _meta db_table N/A model_db_table N/A N/A N/A connection ops quote_name N/A N/A model _meta db_table N/A pk N/A N/A model _meta pk N/A id N/A N/A N/A connection ops quote_name N/A N/A pk db_column N/A pk attname N/A word_query N/A 
            ({db_table}.{engine_slug} = %s)
         
            ({db_table}.{content_type_id} = %s)
         N/A word_kwargs N/A db_table model_db_table engine_slug title description content content_type_id object_id object_id_int id iregex_operator db_table model_db_table N/A N/A N/A connection ops quote_name engine_slug N/A N/A N/A connection ops quote_name title N/A N/A N/A connection ops quote_name description N/A N/A N/A connection ops quote_name content N/A N/A N/A connection ops quote_name content_type_id N/A N/A N/A connection ops quote_name object_id N/A N/A N/A connection ops quote_name object_id_int id N/A N/A connection operators N/A iregex N/A word_args N/A engine_slug N/A N/A N/A N/A ContentType objects get_for_model model id N/A N/A has_int_pk model N/A N/A N/A N/A word_query append 
                ({db_table}.{object_id_int} = {model_db_table}.{id})
             N/A N/A N/A N/A word_query append 
                ({db_table}.{object_id} = {model_db_table}.{id})
             N/A word N/A N/A search_text split N/A N/A regex N/A regex_from_word word N/A N/A N/A word_query append 
                ({db_table}.{title} {iregex_operator} OR {db_table}.{description} {iregex_operator} OR {db_table}.{content} {iregex_operator})
             N/A N/A N/A word_args extend N/A regex regex regex N/A full_word_query N/A N/A N/A N/A  AND  join word_query format word_kwargs N/A N/A N/A queryset extra tables N/A db_table where N/A full_word_query params word_args N/A N/A RegexSearchBackend N/A RegexSearchMixin SearchBackend N/A N/A A search backend that works with SQLite3. N/A PostgresSearchBackend N/A SearchBackend N/A N/A A search backend that uses native PostgreSQL full text indices. N/A search_config pg_catalog.english N/A Text search configuration to use in `to_tsvector` and `to_tsquery` functions escape_postgres_query N/A N/A self text N/A N/A N/A Escapes the given text to become a valid ts_query. N/A N/A N/A  &  join N/A N/A N/A $${0}$$:* format word N/A word N/A N/A N/A escape_query text split N/A is_installed N/A N/A self N/A N/A N/A Checks whether django-watson is installed. N/A cursor N/A N/A connection cursor N/A N/A N/A cursor execute 
            SELECT attname FROM pg_attribute
            WHERE attrelid = (SELECT oid FROM pg_class WHERE relname = 'watson_searchentry') AND attname = 'search_tsv';
         N/A N/A bool N/A N/A cursor fetchall N/A do_install N/A N/A self N/A N/A N/A Executes the PostgreSQL specific SQL code to install django-watson. N/A N/A N/A N/A N/A connection cursor execute N/A N/A 
            -- Ensure that plpgsql is installed.
            CREATE OR REPLACE FUNCTION make_plpgsql() RETURNS VOID LANGUAGE SQL AS
            $$
                CREATE LANGUAGE plpgsql;
            $$;
            SELECT
                CASE
                WHEN EXISTS(
                    SELECT 1
                    FROM pg_catalog.pg_language
                    WHERE lanname='plpgsql'
                )
                THEN NULL
                ELSE make_plpgsql() END;
            DROP FUNCTION make_plpgsql();

            -- Create the search index.
            ALTER TABLE watson_searchentry ADD COLUMN search_tsv tsvector NOT NULL;
            CREATE INDEX watson_searchentry_search_tsv ON watson_searchentry USING gin(search_tsv);

            -- Create the trigger function.
            CREATE OR REPLACE FUNCTION watson_searchentry_trigger_handler() RETURNS trigger AS $$
            begin
                new.search_tsv :=
                    setweight(to_tsvector('{search_config}', coalesce(new.title, '')), 'A') ||
                    setweight(to_tsvector('{search_config}', coalesce(new.description, '')), 'C') ||
                    setweight(to_tsvector('{search_config}', coalesce(new.content, '')), 'D');
                return new;
            end
            $$ LANGUAGE plpgsql;
            CREATE TRIGGER watson_searchentry_trigger BEFORE INSERT OR UPDATE
            ON watson_searchentry FOR EACH ROW EXECUTE PROCEDURE watson_searchentry_trigger_handler();
         format search_config N/A self search_config N/A N/A N/A transaction atomic do_uninstall N/A N/A self N/A N/A N/A Executes the PostgreSQL specific SQL code to uninstall django-watson. N/A N/A N/A N/A N/A connection cursor execute 
            ALTER TABLE watson_searchentry DROP COLUMN search_tsv;

            DROP TRIGGER watson_searchentry_trigger ON watson_searchentry;

            DROP FUNCTION watson_searchentry_trigger_handler();
         N/A N/A N/A transaction atomic N/A requires_installation True N/A supports_ranking True N/A supports_prefix_matching True do_search N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text search. N/A N/A N/A queryset extra where N/A N/A N/A search_tsv @@ to_tsquery('{search_config}', %s) format search_config N/A self search_config params N/A N/A N/A self escape_postgres_query search_text N/A do_search_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs full text ranking. N/A N/A N/A queryset extra select N/A watson_rank N/A N/A ts_rank_cd(watson_searchentry.search_tsv, to_tsquery('{search_config}', %s)) format search_config N/A self search_config select_params N/A N/A N/A self escape_postgres_query search_text order_by N/A -watson_rank N/A do_filter N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text filter. N/A model N/A queryset model N/A content_type N/A N/A N/A ContentType objects get_for_model model N/A pk N/A N/A model _meta pk N/A N/A has_int_pk model N/A N/A ref_name object_id_int N/A N/A ref_name object_id N/A N/A N/A queryset extra tables N/A watson_searchentry where N/A watson_searchentry.engine_slug = %s N/A N/A watson_searchentry.search_tsv @@ to_tsquery('{search_config}', %s) format search_config N/A self search_config N/A N/A watson_searchentry.{ref_name} = {table_name}.{pk_name} format ref_name ref_name table_name N/A N/A N/A connection ops quote_name N/A N/A model _meta db_table pk_name N/A N/A N/A connection ops quote_name N/A N/A pk db_column N/A pk attname watson_searchentry.content_type_id = %s params N/A engine_slug N/A N/A self escape_postgres_query search_text N/A content_type id N/A do_filter_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text ranking. N/A N/A N/A queryset extra select N/A watson_rank N/A N/A ts_rank_cd(watson_searchentry.search_tsv, to_tsquery('{search_config}', %s)) format search_config N/A self search_config select_params N/A N/A N/A self escape_postgres_query search_text order_by N/A -watson_rank N/A N/A PostgresLegacySearchBackend N/A PostgresSearchBackend N/A N/A 
    A search backend that uses native PostgreSQL full text indices.

    This backend doesn't support prefix matching, and works with PostgreSQL 8.3 and below.
     N/A supports_prefix_matching False escape_postgres_query N/A N/A self text N/A N/A N/A Escapes the given text to become a valid ts_query. N/A N/A N/A  &  join N/A N/A N/A $${0}$$ format word N/A word N/A N/A N/A escape_query text split N/A N/A PostgresPrefixLegacySearchBackend N/A RegexSearchMixin PostgresLegacySearchBackend N/A N/A 
    A legacy search backend that uses a regexp to perform matches, but still allows
    relevance rankings.

    Use if your postgres vesion is less than 8.3, and you absolutely can't live without
    prefix matching. Beware, this backend can get slow with large datasets!
     N/A escape_mysql_boolean_query N/A N/A search_text N/A N/A N/A N/A N/A join N/A N/A N/A +{word}* format word word N/A word N/A N/A N/A escape_query search_text split N/A MySQLSearchBackend N/A SearchBackend N/A is_installed N/A N/A self N/A N/A N/A Checks whether django-watson is installed. N/A cursor N/A N/A connection cursor N/A N/A N/A cursor execute SHOW INDEX FROM watson_searchentry WHERE Key_name = 'watson_searchentry_fulltext' N/A N/A bool N/A N/A cursor fetchall N/A do_install N/A N/A self N/A N/A N/A Executes the MySQL specific SQL code to install django-watson. N/A cursor N/A N/A connection cursor N/A N/A N/A cursor execute SELECT CONSTRAINT_NAME FROM information_schema.TABLE_CONSTRAINTS WHERE CONSTRAINT_SCHEMA = DATABASE() AND TABLE_NAME = 'watson_searchentry' AND CONSTRAINT_TYPE = 'FOREIGN KEY' N/A N/A constraint_name N/A N/A cursor fetchall N/A N/A N/A N/A cursor execute N/A N/A ALTER TABLE watson_searchentry DROP FOREIGN KEY {constraint_name} format constraint_name constraint_name N/A N/A N/A cursor execute ALTER TABLE watson_searchentry ENGINE = MyISAM N/A N/A N/A cursor execute CREATE FULLTEXT INDEX watson_searchentry_fulltext ON watson_searchentry (title, description, content) N/A N/A N/A cursor execute CREATE FULLTEXT INDEX watson_searchentry_title ON watson_searchentry (title) N/A N/A N/A cursor execute CREATE FULLTEXT INDEX watson_searchentry_description ON watson_searchentry (description) N/A N/A N/A cursor execute CREATE FULLTEXT INDEX watson_searchentry_content ON watson_searchentry (content) N/A do_uninstall N/A N/A self N/A N/A N/A Executes the SQL needed to uninstall django-watson. N/A cursor N/A N/A connection cursor N/A N/A N/A cursor execute DROP INDEX watson_searchentry_fulltext ON watson_searchentry N/A N/A N/A cursor execute DROP INDEX watson_searchentry_title ON watson_searchentry N/A N/A N/A cursor execute DROP INDEX watson_searchentry_description ON watson_searchentry N/A N/A N/A cursor execute DROP INDEX watson_searchentry_content ON watson_searchentry N/A N/A supports_prefix_matching True N/A requires_installation True N/A supports_ranking True _format_query N/A N/A self search_text N/A N/A N/A N/A escape_mysql_boolean_query search_text N/A do_search N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text search. N/A N/A N/A queryset extra where N/A MATCH (title, description, content) AGAINST (%s IN BOOLEAN MODE) params N/A N/A N/A self _format_query search_text N/A do_search_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs full text ranking. N/A search_text N/A N/A self _format_query search_text N/A N/A N/A queryset extra select N/A watson_rank 
                    ((MATCH (title) AGAINST (%s IN BOOLEAN MODE)) * 3) +
                    ((MATCH (description) AGAINST (%s IN BOOLEAN MODE)) * 2) +
                    ((MATCH (content) AGAINST (%s IN BOOLEAN MODE)) * 1)
                 select_params N/A search_text search_text search_text order_by N/A -watson_rank N/A do_filter N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text filter. N/A model N/A queryset model N/A content_type N/A N/A N/A ContentType objects get_for_model model N/A pk N/A N/A model _meta pk N/A N/A has_int_pk model N/A N/A ref_name object_id_int N/A N/A ref_name object_id N/A N/A N/A queryset extra tables N/A watson_searchentry where N/A watson_searchentry.engine_slug = %s MATCH (watson_searchentry.title, watson_searchentry.description, watson_searchentry.content) AGAINST (%s IN BOOLEAN MODE) N/A N/A watson_searchentry.{ref_name} = {table_name}.{pk_name} format ref_name ref_name table_name N/A N/A N/A connection ops quote_name N/A N/A model _meta db_table pk_name N/A N/A N/A connection ops quote_name N/A N/A pk db_column N/A pk attname watson_searchentry.content_type_id = %s params N/A engine_slug N/A N/A self _format_query search_text N/A content_type id N/A do_filter_ranking N/A N/A self engine_slug queryset search_text N/A N/A N/A Performs the full text ranking. N/A search_text N/A N/A self _format_query search_text N/A N/A N/A queryset extra select N/A watson_rank 
                    ((MATCH (watson_searchentry.title) AGAINST (%s IN BOOLEAN MODE)) * 3) +
                    ((MATCH (watson_searchentry.description) AGAINST (%s IN BOOLEAN MODE)) * 2) +
                    ((MATCH (watson_searchentry.content) AGAINST (%s IN BOOLEAN MODE)) * 1)
                 select_params N/A search_text search_text search_text order_by N/A -watson_rank N/A N/A get_postgresql_version N/A N/A connection N/A N/A N/A Returns the version number of the PostgreSQL connection. django.db.backends.postgresql_psycopg2.version get_version N/A N/A get_version connection N/A AdaptiveSearchBackend N/A SearchBackend N/A N/A 
    A search backend that guesses the correct search backend based on the
    DATABASES["default"] settings.
     __new__ N/A N/A cls N/A N/A N/A Guess the correct search backend and initialize it. N/A N/A N/A connection vendor postgresql N/A N/A version N/A get_postgresql_version connection N/A N/A version 80400 N/A N/A N/A PostgresSearchBackend N/A N/A version 80300 N/A N/A N/A PostgresLegacySearchBackend N/A N/A N/A connection vendor mysql N/A N/A N/A MySQLSearchBackend N/A N/A RegexSearchBackend N/A N/A