SYMBOL INDEX (2095 symbols across 111 files) FILE: example_project/bare_bones_app/models.py class Cat (line 6) | class Cat(models.Model): method __str__ (line 13) | def __str__(self): method get_absolute_url (line 17) | def get_absolute_url(self): FILE: example_project/bare_bones_app/search_indexes.py class CatIndex (line 10) | class CatIndex(indexes.BasicSearchIndex, indexes.Indexable): method get_model (line 11) | def get_model(self): FILE: example_project/regular_app/models.py class Dog (line 14) | class Dog(models.Model): method __str__ (line 24) | def __str__(self): method get_absolute_url (line 28) | def get_absolute_url(self): method full_name (line 31) | def full_name(self): class Toy (line 38) | class Toy(models.Model): method __str__ (line 42) | def __str__(self): FILE: example_project/regular_app/search_indexes.py class DogIndex (line 9) | class DogIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 20) | def get_model(self): method index_queryset (line 23) | def index_queryset(self, using=None): method prepare_toys (line 26) | def prepare_toys(self, obj): FILE: haystack/__init__.py function reset_search_queries (line 67) | def reset_search_queries(**kwargs): FILE: haystack/admin.py class SearchChangeList (line 15) | class SearchChangeList(ChangeList): method __init__ (line 16) | def __init__(self, **kwargs): method get_results (line 20) | def get_results(self, request): class SearchModelAdminMixin (line 59) | class SearchModelAdminMixin(object): method changelist_view (line 64) | def changelist_view(self, request, extra_context=None): class SearchModelAdmin (line 162) | class SearchModelAdmin(SearchModelAdminMixin, ModelAdmin): FILE: haystack/apps.py class HaystackConfig (line 10) | class HaystackConfig(AppConfig): method ready (line 15) | def ready(self): FILE: haystack/backends/__init__.py function log_query (line 22) | def log_query(func): class EmptyResults (line 53) | class EmptyResults(object): method __len__ (line 57) | def __len__(self): method __getitem__ (line 60) | def __getitem__(self, k): class BaseSearchBackend (line 67) | class BaseSearchBackend(object): method __init__ (line 76) | def __init__(self, connection_alias, **connection_options): method update (line 84) | def update(self, index, iterable, commit=True): method remove (line 94) | def remove(self, obj_or_string): method clear (line 105) | def clear(self, models=None, commit=True): method search (line 115) | def search(self, query_string, **kwargs): method build_search_kwargs (line 131) | def build_search_kwargs( method prep_value (line 156) | def prep_value(self, value): method more_like_this (line 163) | def more_like_this( method extract_file_contents (line 176) | def extract_file_contents(self, file_obj): method build_schema (line 195) | def build_schema(self, fields): method build_models_list (line 206) | def build_models_list(self): class SearchNode (line 231) | class SearchNode(tree.Node): method __init__ (line 252) | def __init__(self, children=None, connector=None, negated=False): method _new_instance (line 268) | def _new_instance(cls, children=None, connector=None, negated=False): method __str__ (line 283) | def __str__(self): method __deepcopy__ (line 291) | def __deepcopy__(self, memodict): method __len__ (line 301) | def __len__(self): method __bool__ (line 307) | def __bool__(self): method __contains__ (line 313) | def __contains__(self, other): method add (line 319) | def add(self, node, conn_type): method negate (line 342) | def negate(self): method start_subtree (line 357) | def start_subtree(self, conn_type): method end_subtree (line 379) | def end_subtree(self): method __repr__ (line 395) | def __repr__(self): method _repr_query_fragment_callback (line 401) | def _repr_query_fragment_callback(self, field, filter_type, value): method as_query_string (line 404) | def as_query_string(self, query_fragment_callback): method split_expression (line 430) | def split_expression(self, expression): class SQ (line 442) | class SQ(Q, SearchNode): class BaseSearchQuery (line 454) | class BaseSearchQuery(object): method __init__ (line 473) | def __init__(self, using=DEFAULT_ALIAS): method __str__ (line 512) | def __str__(self): method __getstate__ (line 515) | def __getstate__(self): method __setstate__ (line 521) | def __setstate__(self, obj_dict): method has_run (line 528) | def has_run(self): method build_params (line 532) | def build_params(self, spelling_query=None): method run (line 585) | def run(self, spelling_query=None, **kwargs): method run_mlt (line 599) | def run_mlt(self, **kwargs): method run_raw (line 624) | def run_raw(self, **kwargs): method get_count (line 638) | def get_count(self): method get_results (line 662) | def get_results(self, **kwargs): method get_facet_counts (line 681) | def get_facet_counts(self): method get_stats (line 693) | def get_stats(self): method set_spelling_query (line 704) | def set_spelling_query(self, spelling_query): method get_spelling_suggestion (line 707) | def get_spelling_suggestion(self, preferred_query=None): method boost_fragment (line 719) | def boost_fragment(self, boost_word, boost_value): method matching_all_fragment (line 723) | def matching_all_fragment(self): method build_query (line 727) | def build_query(self): method combine (line 748) | def combine(self, rhs, connector=SQ.AND): method build_query_fragment (line 756) | def build_query_fragment(self, field, filter_type, value): method clean (line 768) | def clean(self, query_fragment): method build_not_query (line 792) | def build_not_query(self, query_string): method build_exact_query (line 798) | def build_exact_query(self, query_string): method add_filter (line 801) | def add_filter(self, query_filter, use_or=False): method add_order_by (line 837) | def add_order_by(self, field): method clear_order_by (line 841) | def clear_order_by(self): method add_model (line 848) | def add_model(self, model): method set_limits (line 862) | def set_limits(self, low=None, high=None): method clear_limits (line 870) | def clear_limits(self): method add_boost (line 874) | def add_boost(self, term, boost_value): method raw_search (line 878) | def raw_search(self, query_string, **kwargs): method more_like_this (line 891) | def more_like_this(self, model_instance): method add_stats_query (line 899) | def add_stats_query(self, stats_field, stats_facets): method add_highlight (line 903) | def add_highlight(self, **kwargs): method add_within (line 907) | def add_within(self, field, point_1, point_2): method add_dwithin (line 917) | def add_dwithin(self, field, point, distance): method add_distance (line 927) | def add_distance(self, field, point): method add_field_facet (line 936) | def add_field_facet(self, field, **options): method add_date_facet (line 945) | def add_date_facet(self, field, start_date, end_date, gap_by, gap_amou... method add_query_facet (line 965) | def add_query_facet(self, field, query): method add_narrow_query (line 976) | def add_narrow_query(self, query): method set_result_class (line 984) | def set_result_class(self, klass): method post_process_facets (line 996) | def post_process_facets(self, results): method using (line 1019) | def using(self, using=None): method _reset (line 1028) | def _reset(self): method _clone (line 1038) | def _clone(self, klass=None, using=None): class BaseEngine (line 1075) | class BaseEngine(object): method __init__ (line 1080) | def __init__(self, using=None): method get_backend (line 1090) | def get_backend(self): method reset_sessions (line 1095) | def reset_sessions(self): method get_query (line 1099) | def get_query(self): method reset_queries (line 1102) | def reset_queries(self): method get_unified_index (line 1105) | def get_unified_index(self): FILE: haystack/backends/elasticsearch2_backend.py class Elasticsearch2SearchBackend (line 34) | class Elasticsearch2SearchBackend(ElasticsearchSearchBackend): method __init__ (line 35) | def __init__(self, connection_alias, **connection_options): method clear (line 39) | def clear(self, models=None, commit=True): method build_search_kwargs (line 98) | def build_search_kwargs( method more_like_this (line 233) | def more_like_this( method _process_results (line 338) | def _process_results( class Elasticsearch2SearchQuery (line 384) | class Elasticsearch2SearchQuery(ElasticsearchSearchQuery): class Elasticsearch2SearchEngine (line 388) | class Elasticsearch2SearchEngine(BaseEngine): FILE: haystack/backends/elasticsearch5_backend.py class Elasticsearch5SearchBackend (line 30) | class Elasticsearch5SearchBackend(ElasticsearchSearchBackend): method __init__ (line 31) | def __init__(self, connection_alias, **connection_options): method clear (line 35) | def clear(self, models=None, commit=True): method build_search_kwargs (line 94) | def build_search_kwargs( method _build_search_query_dwithin (line 300) | def _build_search_query_dwithin(self, dwithin): method _build_search_query_within (line 310) | def _build_search_query_within(self, within): method more_like_this (line 325) | def more_like_this( method _process_results (line 428) | def _process_results( class Elasticsearch5SearchQuery (line 474) | class Elasticsearch5SearchQuery(ElasticsearchSearchQuery): method add_field_facet (line 475) | def add_field_facet(self, field, **options): class Elasticsearch5SearchEngine (line 481) | class Elasticsearch5SearchEngine(BaseEngine): FILE: haystack/backends/elasticsearch_backend.py class ElasticsearchSearchBackend (line 53) | class ElasticsearchSearchBackend(BaseSearchBackend): method __init__ (line 122) | def __init__(self, connection_alias, **connection_options): method setup (line 147) | def setup(self): method update (line 184) | def update(self, index, iterable, commit=True): method remove (line 230) | def remove(self, obj_or_string, commit=True): method clear (line 266) | def clear(self, models=None, commit=True): method build_search_kwargs (line 310) | def build_search_kwargs( method search (line 538) | def search(self, query_string, **kwargs): method more_like_this (line 587) | def more_like_this( method _process_results (line 645) | def _process_results( method build_schema (line 763) | def build_schema(self, fields): method _iso_datetime (line 798) | def _iso_datetime(self, value): method _from_python (line 810) | def _from_python(self, value): method _to_python (line 822) | def _to_python(self, value): class ElasticsearchSearchQuery (line 882) | class ElasticsearchSearchQuery(BaseSearchQuery): method matching_all_fragment (line 883) | def matching_all_fragment(self): method build_query_fragment (line 886) | def build_query_fragment(self, field, filter_type, value): method build_alt_parser_query (line 997) | def build_alt_parser_query(self, parser_name, query_string="", **kwargs): method build_params (line 1011) | def build_params(self, spelling_query=None, **kwargs): method run (line 1071) | def run(self, spelling_query=None, **kwargs): method run_mlt (line 1085) | def run_mlt(self, **kwargs): class ElasticsearchSearchEngine (line 1109) | class ElasticsearchSearchEngine(BaseEngine): FILE: haystack/backends/simple_backend.py class SimpleSearchBackend (line 22) | class SimpleSearchBackend(BaseSearchBackend): method update (line 23) | def update(self, indexer, iterable, commit=True): method remove (line 26) | def remove(self, obj, commit=True): method clear (line 29) | def clear(self, models=None, commit=True): method search (line 33) | def search(self, query_string, **kwargs): method prep_value (line 90) | def prep_value(self, db_field, value): method more_like_this (line 93) | def more_like_this( class SimpleSearchQuery (line 106) | class SimpleSearchQuery(BaseSearchQuery): method build_query (line 107) | def build_query(self): method _build_sub_query (line 113) | def _build_sub_query(self, search_node): class SimpleEngine (line 130) | class SimpleEngine(BaseEngine): FILE: haystack/backends/solr_backend.py class SolrSearchBackend (line 30) | class SolrSearchBackend(BaseSearchBackend): method __init__ (line 58) | def __init__(self, connection_alias, **connection_options): method update (line 76) | def update(self, index, iterable, commit=True): method remove (line 106) | def remove(self, obj_or_string, commit=True): method clear (line 123) | def clear(self, models=None, commit=True): method search (line 157) | def search(self, query_string, **kwargs): method build_search_kwargs (line 181) | def build_search_kwargs( method more_like_this (line 385) | def more_like_this( method _process_results (line 462) | def _process_results( method extract_spelling_suggestions (line 587) | def extract_spelling_suggestions(self, raw_results): method build_schema (line 647) | def build_schema(self, fields): method extract_file_contents (line 706) | def extract_file_contents(self, file_obj, **kwargs): class SolrSearchQuery (line 743) | class SolrSearchQuery(BaseSearchQuery): method matching_all_fragment (line 744) | def matching_all_fragment(self): method build_query_fragment (line 747) | def build_query_fragment(self, field, filter_type, value): method build_alt_parser_query (line 852) | def build_alt_parser_query(self, parser_name, query_string="", **kwargs): method build_params (line 870) | def build_params(self, spelling_query=None, **kwargs): method run (line 932) | def run(self, spelling_query=None, **kwargs): method run_mlt (line 948) | def run_mlt(self, **kwargs): class SolrEngine (line 972) | class SolrEngine(BaseEngine): FILE: haystack/backends/whoosh_backend.py class WhooshHtmlFormatter (line 65) | class WhooshHtmlFormatter(HtmlFormatter): class WhooshSearchBackend (line 75) | class WhooshSearchBackend(BaseSearchBackend): method __init__ (line 103) | def __init__(self, connection_alias, **connection_options): method setup (line 121) | def setup(self): method build_schema (line 166) | def build_schema(self, fields): method update (line 247) | def update(self, index, iterable, commit=True): method remove (line 288) | def remove(self, obj_or_string, commit=True): method clear (line 308) | def clear(self, models=None, commit=True): method delete_index (line 343) | def delete_index(self): method optimize (line 354) | def optimize(self): method calculate_page (line 361) | def calculate_page(self, start_offset=0, end_offset=None): method search (line 386) | def search( method more_like_this (line 576) | def more_like_this( method _process_results (line 681) | def _process_results( method create_spelling_suggestion (line 775) | def create_spelling_suggestion(self, query_string): method _from_python (line 804) | def _from_python(self, value): method _to_python (line 827) | def _to_python(self, value): class WhooshSearchQuery (line 874) | class WhooshSearchQuery(BaseSearchQuery): method _convert_datetime (line 875) | def _convert_datetime(self, date): method clean (line 881) | def clean(self, query_fragment): method build_query_fragment (line 906) | def build_query_fragment(self, field, filter_type, value): class WhooshEngine (line 1048) | class WhooshEngine(BaseEngine): FILE: haystack/constants.py class Indexable (line 50) | class Indexable(object): FILE: haystack/exceptions.py class HaystackError (line 1) | class HaystackError(Exception): class SearchBackendError (line 7) | class SearchBackendError(HaystackError): class SearchFieldError (line 13) | class SearchFieldError(HaystackError): class MissingDependency (line 19) | class MissingDependency(HaystackError): class NotHandled (line 25) | class NotHandled(HaystackError): class MoreLikeThisError (line 31) | class MoreLikeThisError(HaystackError): class FacetingError (line 37) | class FacetingError(HaystackError): class SpatialError (line 43) | class SpatialError(HaystackError): class StatsError (line 49) | class StatsError(HaystackError): class SkipDocument (line 54) | class SkipDocument(HaystackError): FILE: haystack/fields.py class NOT_PROVIDED (line 12) | class NOT_PROVIDED: class SearchField (line 29) | class SearchField(object): method __init__ (line 34) | def __init__( method analyzer (line 77) | def analyzer(self): method set_instance_name (line 82) | def set_instance_name(self, instance_name): method has_default (line 88) | def has_default(self): method default (line 93) | def default(self): method prepare (line 100) | def prepare(self, obj): method resolve_attributes_lookup (line 124) | def resolve_attributes_lookup(self, current_objects, attributes): method split_model_attr_lookups (line 170) | def split_model_attr_lookups(self): method get_iterable_objects (line 175) | def get_iterable_objects(cls, current_objects): method prepare_template (line 194) | def prepare_template(self, obj): method convert (line 223) | def convert(self, value): class CharField (line 233) | class CharField(SearchField): method __init__ (line 236) | def __init__(self, analyzer=NOT_PROVIDED, **kwargs): method prepare (line 247) | def prepare(self, obj): method convert (line 250) | def convert(self, value): class LocationField (line 257) | class LocationField(SearchField): method prepare (line 260) | def prepare(self, obj): method convert (line 272) | def convert(self, value): class NgramField (line 299) | class NgramField(CharField): method __init__ (line 302) | def __init__(self, **kwargs): class EdgeNgramField (line 309) | class EdgeNgramField(NgramField): class IntegerField (line 313) | class IntegerField(SearchField): method __init__ (line 316) | def __init__(self, **kwargs): method prepare (line 322) | def prepare(self, obj): method convert (line 325) | def convert(self, value): class FloatField (line 332) | class FloatField(SearchField): method __init__ (line 335) | def __init__(self, **kwargs): method prepare (line 341) | def prepare(self, obj): method convert (line 344) | def convert(self, value): class DecimalField (line 351) | class DecimalField(SearchField): method __init__ (line 354) | def __init__(self, **kwargs): method prepare (line 360) | def prepare(self, obj): method convert (line 363) | def convert(self, value): class BooleanField (line 370) | class BooleanField(SearchField): method __init__ (line 373) | def __init__(self, **kwargs): method prepare (line 379) | def prepare(self, obj): method convert (line 382) | def convert(self, value): class DateField (line 389) | class DateField(SearchField): method __init__ (line 392) | def __init__(self, **kwargs): method prepare (line 398) | def prepare(self, obj): method convert (line 401) | def convert(self, value): class DateTimeField (line 422) | class DateTimeField(SearchField): method __init__ (line 425) | def __init__(self, **kwargs): method prepare (line 431) | def prepare(self, obj): method convert (line 434) | def convert(self, value): class MultiValueField (line 460) | class MultiValueField(SearchField): method __init__ (line 463) | def __init__(self, **kwargs): method prepare (line 476) | def prepare(self, obj): method convert (line 479) | def convert(self, value): class FacetField (line 489) | class FacetField(SearchField): method __init__ (line 500) | def __init__(self, **kwargs): method handle_facet_parameters (line 504) | def handle_facet_parameters(self, kwargs): method get_facet_for_name (line 541) | def get_facet_for_name(self): class FacetCharField (line 545) | class FacetCharField(FacetField, CharField): class FacetIntegerField (line 549) | class FacetIntegerField(FacetField, IntegerField): class FacetFloatField (line 553) | class FacetFloatField(FacetField, FloatField): class FacetDecimalField (line 557) | class FacetDecimalField(FacetField, DecimalField): class FacetBooleanField (line 561) | class FacetBooleanField(FacetField, BooleanField): class FacetDateField (line 565) | class FacetDateField(FacetField, DateField): class FacetDateTimeField (line 569) | class FacetDateTimeField(FacetField, DateTimeField): class FacetMultiValueField (line 573) | class FacetMultiValueField(FacetField, MultiValueField): FILE: haystack/forms.py function model_choices (line 13) | def model_choices(using=DEFAULT_ALIAS): class SearchForm (line 21) | class SearchForm(forms.Form): method __init__ (line 28) | def __init__(self, *args, **kwargs): method no_query_found (line 37) | def no_query_found(self): method search (line 48) | def search(self): method get_suggestion (line 62) | def get_suggestion(self): class HighlightedSearchForm (line 69) | class HighlightedSearchForm(SearchForm): method search (line 70) | def search(self): class FacetedSearchForm (line 74) | class FacetedSearchForm(SearchForm): method __init__ (line 75) | def __init__(self, *args, **kwargs): method search (line 79) | def search(self): class ModelSearchForm (line 96) | class ModelSearchForm(SearchForm): method __init__ (line 97) | def __init__(self, *args, **kwargs): method get_models (line 106) | def get_models(self): method search (line 116) | def search(self): class HighlightedModelSearchForm (line 121) | class HighlightedModelSearchForm(ModelSearchForm): method search (line 122) | def search(self): class FacetedModelSearchForm (line 126) | class FacetedModelSearchForm(ModelSearchForm): method search (line 129) | def search(self): FILE: haystack/generic_views.py class SearchMixin (line 13) | class SearchMixin(MultipleObjectMixin, FormMixin): method get_queryset (line 52) | def get_queryset(self): method get_form_kwargs (line 57) | def get_form_kwargs(self): method form_invalid (line 69) | def form_invalid(self, form): method form_valid (line 75) | def form_valid(self, form): class FacetedSearchMixin (line 87) | class FacetedSearchMixin(SearchMixin): method get_form_kwargs (line 96) | def get_form_kwargs(self): method get_context_data (line 101) | def get_context_data(self, **kwargs): method get_queryset (line 106) | def get_queryset(self): class SearchView (line 113) | class SearchView(SearchMixin, FormView): method get (line 116) | def get(self, request, *args, **kwargs): class FacetedSearchView (line 129) | class FacetedSearchView(FacetedSearchMixin, SearchView): FILE: haystack/indexes.py class DeclarativeMetaclass (line 34) | class DeclarativeMetaclass(type): method __new__ (line 35) | def __new__(cls, name, bases, attrs): class SearchIndex (line 94) | class SearchIndex(threading.local, metaclass=DeclarativeMetaclass): method __init__ (line 117) | def __init__(self): method get_model (line 134) | def get_model(self): method index_queryset (line 145) | def index_queryset(self, using=None): method read_queryset (line 153) | def read_queryset(self, using=None): method build_queryset (line 162) | def build_queryset(self, using=None, start_date=None, end_date=None): method prepare (line 213) | def prepare(self, obj): method full_prepare (line 234) | def full_prepare(self, obj): method get_content_field (line 259) | def get_content_field(self): method get_field_weights (line 265) | def get_field_weights(self): method _get_backend (line 273) | def _get_backend(self, using): method get_backend (line 280) | def get_backend(self, using=None): method update (line 290) | def update(self, using=None): method update_object (line 304) | def update_object(self, instance, using=None, **kwargs): method remove_object (line 320) | def remove_object(self, instance, using=None, **kwargs): method clear (line 334) | def clear(self, using=None): method reindex (line 347) | def reindex(self, using=None): method get_updated_field (line 358) | def get_updated_field(self): method should_update (line 369) | def should_update(self, instance, **kwargs): method load_all_queryset (line 381) | def load_all_queryset(self): class BasicSearchIndex (line 394) | class BasicSearchIndex(SearchIndex): function index_field_from_django_field (line 402) | def index_field_from_django_field(f, default=CharField): class ModelSearchIndex (line 428) | class ModelSearchIndex(SearchIndex): method __init__ (line 447) | def __init__(self, extra_field_kwargs=None): method should_skip_field (line 479) | def should_skip_field(self, field): method get_model (line 494) | def get_model(self): method get_index_fieldname (line 497) | def get_index_fieldname(self, f): method get_fields (line 503) | def get_fields(self, fields=None, excludes=None): FILE: haystack/inputs.py class BaseInput (line 7) | class BaseInput(object): method __init__ (line 15) | def __init__(self, query_string, **kwargs): method __repr__ (line 19) | def __repr__(self): method __str__ (line 22) | def __str__(self): method prepare (line 25) | def prepare(self, query_obj): class Raw (line 29) | class Raw(BaseInput): class PythonData (line 40) | class PythonData(BaseInput): class Clean (line 50) | class Clean(BaseInput): method prepare (line 57) | def prepare(self, query_obj): class Exact (line 62) | class Exact(BaseInput): method prepare (line 69) | def prepare(self, query_obj): class Not (line 82) | class Not(Clean): method prepare (line 89) | def prepare(self, query_obj): class AutoQuery (line 94) | class AutoQuery(BaseInput): method prepare (line 106) | def prepare(self, query_obj): class AltParser (line 136) | class AltParser(BaseInput): method __init__ (line 146) | def __init__(self, parser_name, query_string="", **kwargs): method __repr__ (line 151) | def __repr__(self): method prepare (line 159) | def prepare(self, query_obj): FILE: haystack/management/commands/build_solr_schema.py class Command (line 13) | class Command(BaseCommand): method add_arguments (line 22) | def add_arguments(self, parser): method handle (line 52) | def handle(self, **options): method build_context (line 146) | def build_context(self, using): method build_template (line 166) | def build_template(self, using, template_filename=schema_template_loc): method print_stdout (line 171) | def print_stdout(self, schema_xml): method write_file (line 184) | def write_file(self, filename, schema_xml): FILE: haystack/management/commands/clear_index.py class Command (line 6) | class Command(BaseCommand): method add_arguments (line 9) | def add_arguments(self, parser): method handle (line 33) | def handle(self, **options): FILE: haystack/management/commands/haystack_info.py class Command (line 7) | class Command(BaseCommand): method handle (line 10) | def handle(self, **options): FILE: haystack/management/commands/rebuild_index.py class Command (line 7) | class Command(BaseCommand): method add_arguments (line 10) | def add_arguments(self, parser): method handle (line 57) | def handle(self, **options): FILE: haystack/management/commands/update_index.py function update_worker (line 24) | def update_worker(args): function do_update (line 72) | def do_update( class Command (line 160) | class Command(BaseCommand): method add_arguments (line 163) | def add_arguments(self, parser): method handle (line 242) | def handle(self, **options): method update_backend (line 302) | def update_backend(self, label, using): FILE: haystack/manager.py class SearchIndexManager (line 4) | class SearchIndexManager(object): method __init__ (line 5) | def __init__(self, using=None): method get_search_queryset (line 9) | def get_search_queryset(self): method get_empty_query_set (line 15) | def get_empty_query_set(self): method all (line 18) | def all(self): # noqa A003 method none (line 21) | def none(self): method filter (line 24) | def filter(self, *args, **kwargs): # noqa A003 method exclude (line 27) | def exclude(self, *args, **kwargs): method filter_and (line 30) | def filter_and(self, *args, **kwargs): method filter_or (line 33) | def filter_or(self, *args, **kwargs): method order_by (line 36) | def order_by(self, *args): method highlight (line 39) | def highlight(self): method boost (line 42) | def boost(self, term, boost): method facet (line 45) | def facet(self, field): method within (line 48) | def within(self, field, point_1, point_2): method dwithin (line 51) | def dwithin(self, field, point, distance): method distance (line 54) | def distance(self, field, point): method date_facet (line 57) | def date_facet(self, field, start_date, end_date, gap_by, gap_amount=1): method query_facet (line 62) | def query_facet(self, field, query): method narrow (line 65) | def narrow(self, query): method raw_search (line 68) | def raw_search(self, query_string, **kwargs): method load_all (line 71) | def load_all(self): method auto_query (line 74) | def auto_query(self, query_string, fieldname="content"): method autocomplete (line 77) | def autocomplete(self, **kwargs): method using (line 80) | def using(self, connection_name): method count (line 83) | def count(self): method best_match (line 86) | def best_match(self): method latest (line 89) | def latest(self, date_field): method more_like_this (line 92) | def more_like_this(self, model_instance): method facet_counts (line 95) | def facet_counts(self): method spelling_suggestion (line 98) | def spelling_suggestion(self, preferred_query=None): method values (line 101) | def values(self, *fields): method values_list (line 104) | def values_list(self, *fields, **kwargs): FILE: haystack/models.py class SearchResult (line 19) | class SearchResult: method __init__ (line 29) | def __init__(self, app_label, model_name, pk, score, **kwargs): method _get_log (line 47) | def _get_log(self): method __repr__ (line 50) | def __repr__(self): method __str__ (line 57) | def __str__(self): method __getattr__ (line 60) | def __getattr__(self, attr): method _get_searchindex (line 66) | def _get_searchindex(self): method _get_object (line 73) | def _get_object(self): method _set_object (line 98) | def _set_object(self, obj): method _get_model (line 103) | def _get_model(self): method _set_model (line 115) | def _set_model(self, obj): method _get_distance (line 120) | def _get_distance(self): method _set_distance (line 157) | def _set_distance(self, dist): method _get_verbose_name (line 162) | def _get_verbose_name(self): method _get_verbose_name_plural (line 171) | def _get_verbose_name_plural(self): method content_type (line 180) | def content_type(self): method get_additional_fields (line 188) | def get_additional_fields(self): method get_stored_fields (line 203) | def get_stored_fields(self): method __getstate__ (line 231) | def __getstate__(self): method __setstate__ (line 242) | def __setstate__(self, data_dict): function reload_indexes (line 250) | def reload_indexes(sender, *args, **kwargs): FILE: haystack/panels.py class HaystackDebugPanel (line 8) | class HaystackDebugPanel(DebugPanel): method __init__ (line 17) | def __init__(self, *args, **kwargs): method nav_title (line 27) | def nav_title(self): method nav_subtitle (line 30) | def nav_subtitle(self): method title (line 51) | def title(self): method url (line 54) | def url(self): method content (line 57) | def content(self): FILE: haystack/query.py class SearchQuerySet (line 13) | class SearchQuerySet(object): method __init__ (line 20) | def __init__(self, using=None, query=None): method _determine_backend (line 39) | def _determine_backend(self): method __getstate__ (line 60) | def __getstate__(self): method __setstate__ (line 70) | def __setstate__(self, data_dict): method __repr__ (line 77) | def __repr__(self): method __len__ (line 80) | def __len__(self): method __iter__ (line 91) | def __iter__(self): method __and__ (line 98) | def __and__(self, other): method __or__ (line 105) | def __or__(self, other): method _cache_is_full (line 112) | def _cache_is_full(self): method _manual_iter (line 126) | def _manual_iter(self): method post_process_results (line 155) | def post_process_results(self, results): method _load_model_objects (line 206) | def _load_model_objects(self, model, pks): method _fill_cache (line 217) | def _fill_cache(self, start, end, **kwargs): method __getitem__ (line 277) | def __getitem__(self, k): method all (line 321) | def all(self): # noqa A003 method none (line 325) | def none(self): method filter (line 329) | def filter(self, *args, **kwargs): # noqa A003 method exclude (line 336) | def exclude(self, *args, **kwargs): method filter_and (line 342) | def filter_and(self, *args, **kwargs): method filter_or (line 348) | def filter_or(self, *args, **kwargs): method order_by (line 354) | def order_by(self, *args): method highlight (line 363) | def highlight(self, **kwargs): method models (line 369) | def models(self, *models): method result_class (line 386) | def result_class(self, klass): method boost (line 397) | def boost(self, term, boost): method facet (line 403) | def facet(self, field, **options): method within (line 409) | def within(self, field, point_1, point_2): method dwithin (line 415) | def dwithin(self, field, point, distance): method stats (line 421) | def stats(self, field): method stats_facet (line 425) | def stats_facet(self, field, facet_fields=None): method distance (line 438) | def distance(self, field, point): method date_facet (line 447) | def date_facet(self, field, start_date, end_date, gap_by, gap_amount=1): method query_facet (line 455) | def query_facet(self, field, query): method narrow (line 461) | def narrow(self, query): method raw_search (line 474) | def raw_search(self, query_string, **kwargs): method load_all (line 478) | def load_all(self): method auto_query (line 484) | def auto_query(self, query_string, fieldname="content"): method autocomplete (line 494) | def autocomplete(self, **kwargs): method using (line 513) | def using(self, connection_name): method count (line 525) | def count(self): method best_match (line 529) | def best_match(self): method latest (line 533) | def latest(self, date_field): method more_like_this (line 540) | def more_like_this(self, model_instance): method facet_counts (line 546) | def facet_counts(self): method stats_results (line 559) | def stats_results(self): method set_spelling_query (line 569) | def set_spelling_query(self, spelling_query): method spelling_suggestion (line 581) | def spelling_suggestion(self, preferred_query=None): method values (line 597) | def values(self, *fields): method values_list (line 606) | def values_list(self, *fields, **kwargs): method _clone (line 629) | def _clone(self, klass=None): class EmptySearchQuerySet (line 639) | class EmptySearchQuerySet(SearchQuerySet): method __len__ (line 645) | def __len__(self): method _cache_is_full (line 648) | def _cache_is_full(self): method _clone (line 652) | def _clone(self, klass=None): method _fill_cache (line 657) | def _fill_cache(self, start, end): method facet_counts (line 660) | def facet_counts(self): class ValuesListSearchQuerySet (line 664) | class ValuesListSearchQuerySet(SearchQuerySet): method __init__ (line 670) | def __init__(self, *args, **kwargs): method _clone (line 680) | def _clone(self, klass=None): method _fill_cache (line 686) | def _fill_cache(self, start, end): method post_process_results (line 692) | def post_process_results(self, results): class ValuesSearchQuerySet (line 706) | class ValuesSearchQuerySet(ValuesListSearchQuerySet): method _fill_cache (line 713) | def _fill_cache(self, start, end): method post_process_results (line 719) | def post_process_results(self, results): class RelatedSearchQuerySet (line 728) | class RelatedSearchQuerySet(SearchQuerySet): method __init__ (line 733) | def __init__(self, *args, **kwargs): method _load_model_objects (line 738) | def _load_model_objects(self, model, pks): method load_all_queryset (line 756) | def load_all_queryset(self, model, queryset): method _clone (line 768) | def _clone(self, klass=None): FILE: haystack/routers.py class BaseRouter (line 4) | class BaseRouter(object): class DefaultRouter (line 9) | class DefaultRouter(BaseRouter): method for_read (line 10) | def for_read(self, **hints): method for_write (line 13) | def for_write(self, **hints): FILE: haystack/signals.py class BaseSignalProcessor (line 6) | class BaseSignalProcessor(object): method __init__ (line 14) | def __init__(self, connections, connection_router): method setup (line 19) | def setup(self): method teardown (line 29) | def teardown(self): method handle_save (line 39) | def handle_save(self, sender, instance, **kwargs): method handle_delete (line 54) | def handle_delete(self, sender, instance, **kwargs): class RealtimeSignalProcessor (line 70) | class RealtimeSignalProcessor(BaseSignalProcessor): method setup (line 76) | def setup(self): method teardown (line 83) | def teardown(self): FILE: haystack/templatetags/highlight.py class HighlightNode (line 10) | class HighlightNode(template.Node): method __init__ (line 11) | def __init__( method render (line 29) | def render(self, context): function highlight (line 73) | def highlight(parser, token): FILE: haystack/templatetags/more_like_this.py class MoreLikeThisNode (line 11) | class MoreLikeThisNode(template.Node): method __init__ (line 12) | def __init__(self, model, varname, for_types=None, limit=None): method render (line 21) | def render(self, context): function more_like_this (line 54) | def more_like_this(parser, token): FILE: haystack/utils/__init__.py function default_get_identifier (line 11) | def default_get_identifier(obj_or_string): function _lookup_identifier_method (line 29) | def _lookup_identifier_method(): function get_model_ct_tuple (line 65) | def get_model_ct_tuple(model): function get_model_ct (line 75) | def get_model_ct(model): function get_facet_field_name (line 79) | def get_facet_field_name(fieldname): FILE: haystack/utils/app_loading.py function haystack_get_app_modules (line 10) | def haystack_get_app_modules(): function haystack_load_apps (line 15) | def haystack_load_apps(): function haystack_get_models (line 20) | def haystack_get_models(label): function haystack_get_model (line 33) | def haystack_get_model(app_label, model_name): FILE: haystack/utils/geo.py function ensure_geometry (line 5) | def ensure_geometry(geom): function ensure_point (line 15) | def ensure_point(geom): function ensure_wgs84 (line 27) | def ensure_wgs84(point): function ensure_distance (line 47) | def ensure_distance(dist): function generate_bounding_box (line 61) | def generate_bounding_box(bottom_left, top_right): FILE: haystack/utils/highlighting.py class Highlighter (line 4) | class Highlighter(object): method __init__ (line 10) | def __init__(self, query, **kwargs): method highlight (line 26) | def highlight(self, text_block): method find_highlightable_words (line 32) | def find_highlightable_words(self): method find_window (line 59) | def find_window(self, highlight_locations): method render_html (line 111) | def render_html(self, highlight_locations=None, start_offset=None, end... FILE: haystack/utils/loading.py function import_class (line 17) | def import_class(path): function load_backend (line 33) | def load_backend(full_backend_path): function load_router (line 63) | def load_router(full_router_path): class ConnectionHandler (line 90) | class ConnectionHandler(object): method __init__ (line 91) | def __init__(self, connections_info): method ensure_defaults (line 96) | def ensure_defaults(self, alias): method __getitem__ (line 107) | def __getitem__(self, key): method reload (line 119) | def reload(self, key): method all (line 129) | def all(self): # noqa A003 class ConnectionRouter (line 133) | class ConnectionRouter(object): method __init__ (line 134) | def __init__(self): method routers (line 138) | def routers(self): method _for_action (line 152) | def _for_action(self, action, many, **hints): method for_write (line 170) | def for_write(self, **hints): method for_read (line 173) | def for_read(self, **hints): class UnifiedIndex (line 177) | class UnifiedIndex(object): method __init__ (line 179) | def __init__(self, excluded_indexes=None): method indexes (line 190) | def indexes(self): method collect_indexes (line 196) | def collect_indexes(self): method reset (line 230) | def reset(self): method build (line 237) | def build(self, indexes=None): method collect_fields (line 259) | def collect_fields(self, index): method get_indexes (line 324) | def get_indexes(self): method get_indexed_models (line 330) | def get_indexed_models(self): method get_index_fieldname (line 334) | def get_index_fieldname(self, field): method get_index (line 340) | def get_index(self, model_klass): method get_facet_fieldname (line 349) | def get_facet_fieldname(self, field): method all_searchfields (line 367) | def all_searchfields(self): FILE: haystack/utils/log.py function getLogger (line 6) | def getLogger(name): class LoggingFacade (line 11) | class LoggingFacade(object): method __init__ (line 12) | def __init__(self, real_logger): method noop (line 15) | def noop(self, *args, **kwargs): method __getattr__ (line 18) | def __getattr__(self, attr): FILE: haystack/views.py class SearchView (line 12) | class SearchView(object): method __init__ (line 21) | def __init__( method __call__ (line 42) | def __call__(self, request): method build_form (line 56) | def build_form(self, form_kwargs=None): method get_query (line 73) | def get_query(self): method get_results (line 84) | def get_results(self): method build_page (line 92) | def build_page(self): method extra_context (line 120) | def extra_context(self): method get_context (line 128) | def get_context(self): method create_response (line 149) | def create_response(self): function search_view_factory (line 159) | def search_view_factory(view_class=SearchView, *args, **kwargs): class FacetedSearchView (line 166) | class FacetedSearchView(SearchView): method __init__ (line 167) | def __init__(self, *args, **kwargs): method build_form (line 174) | def build_form(self, form_kwargs=None): method extra_context (line 184) | def extra_context(self): function basic_search (line 191) | def basic_search( FILE: test_haystack/__init__.py function setup (line 14) | def setup(): function teardown (line 25) | def teardown(): FILE: test_haystack/core/admin.py class MockModelAdmin (line 8) | class MockModelAdmin(SearchModelAdmin): FILE: test_haystack/core/custom_identifier.py function get_identifier_method (line 4) | def get_identifier_method(key): FILE: test_haystack/core/models.py class MockTag (line 8) | class MockTag(models.Model): method __str__ (line 11) | def __str__(self): class MockModel (line 15) | class MockModel(models.Model): method __str__ (line 21) | def __str__(self): method hello (line 24) | def hello(self): class UUIDMockModel (line 28) | class UUIDMockModel(models.Model): method __str__ (line 32) | def __str__(self): class AnotherMockModel (line 36) | class AnotherMockModel(models.Model): method __str__ (line 40) | def __str__(self): class AThirdMockModel (line 44) | class AThirdMockModel(AnotherMockModel): class CharPKMockModel (line 49) | class CharPKMockModel(models.Model): class AFourthMockModel (line 53) | class AFourthMockModel(models.Model): method __str__ (line 58) | def __str__(self): class SoftDeleteManager (line 62) | class SoftDeleteManager(models.Manager): method get_queryset (line 63) | def get_queryset(self): method complete_set (line 66) | def complete_set(self): class AFifthMockModel (line 70) | class AFifthMockModel(models.Model): method __str__ (line 76) | def __str__(self): class ASixthMockModel (line 80) | class ASixthMockModel(models.Model): method __str__ (line 85) | def __str__(self): class ScoreMockModel (line 89) | class ScoreMockModel(models.Model): method __str__ (line 92) | def __str__(self): class ManyToManyLeftSideModel (line 96) | class ManyToManyLeftSideModel(models.Model): class ManyToManyRightSideModel (line 100) | class ManyToManyRightSideModel(models.Model): method __str__ (line 103) | def __str__(self): class OneToManyLeftSideModel (line 107) | class OneToManyLeftSideModel(models.Model): class OneToManyRightSideModel (line 111) | class OneToManyRightSideModel(models.Model): FILE: test_haystack/discovery/models.py class Foo (line 4) | class Foo(models.Model): method __str__ (line 8) | def __str__(self): class Bar (line 12) | class Bar(models.Model): method __str__ (line 16) | def __str__(self): FILE: test_haystack/discovery/search_indexes.py class FooIndex (line 5) | class FooIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 8) | def get_model(self): class BarIndex (line 12) | class BarIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 15) | def get_model(self): FILE: test_haystack/elasticsearch2_tests/__init__.py function setup (line 11) | def setup(): FILE: test_haystack/elasticsearch2_tests/test_backend.py function clear_elasticsearch_index (line 26) | def clear_elasticsearch_index(): class Elasticsearch2MockSearchIndex (line 44) | class Elasticsearch2MockSearchIndex(indexes.SearchIndex, indexes.Indexab... method get_model (line 49) | def get_model(self): class Elasticsearch2MockSearchIndexWithSkipDocument (line 53) | class Elasticsearch2MockSearchIndexWithSkipDocument(Elasticsearch2MockSe... method prepare_text (line 54) | def prepare_text(self, obj): class Elasticsearch2MockSpellingIndex (line 60) | class Elasticsearch2MockSpellingIndex(indexes.SearchIndex, indexes.Index... method get_model (line 65) | def get_model(self): method prepare_text (line 68) | def prepare_text(self, obj): class Elasticsearch2MaintainTypeMockSearchIndex (line 72) | class Elasticsearch2MaintainTypeMockSearchIndex(indexes.SearchIndex, ind... method prepare_month (line 77) | def prepare_month(self, obj): method get_model (line 80) | def get_model(self): class Elasticsearch2MockModelSearchIndex (line 84) | class Elasticsearch2MockModelSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 89) | def get_model(self): class Elasticsearch2AnotherMockModelSearchIndex (line 93) | class Elasticsearch2AnotherMockModelSearchIndex(indexes.SearchIndex, ind... method get_model (line 98) | def get_model(self): method prepare_text (line 101) | def prepare_text(self, obj): class Elasticsearch2BoostMockSearchIndex (line 105) | class Elasticsearch2BoostMockSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 115) | def get_model(self): method prepare (line 118) | def prepare(self, obj): class Elasticsearch2FacetingMockSearchIndex (line 127) | class Elasticsearch2FacetingMockSearchIndex(indexes.SearchIndex, indexes... method prepare_text (line 134) | def prepare_text(self, obj): method get_model (line 137) | def get_model(self): class Elasticsearch2RoundTripSearchIndex (line 141) | class Elasticsearch2RoundTripSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 153) | def get_model(self): method prepare (line 156) | def prepare(self, obj): class Elasticsearch2ComplexFacetsMockSearchIndex (line 175) | class Elasticsearch2ComplexFacetsMockSearchIndex( method get_model (line 188) | def get_model(self): class Elasticsearch2AutocompleteMockModelSearchIndex (line 192) | class Elasticsearch2AutocompleteMockModelSearchIndex( method get_model (line 201) | def get_model(self): class Elasticsearch2SpatialSearchIndex (line 205) | class Elasticsearch2SpatialSearchIndex(indexes.SearchIndex, indexes.Inde... method prepare_location (line 209) | def prepare_location(self, obj): method get_model (line 212) | def get_model(self): class TestSettings (line 216) | class TestSettings(TestCase): method test_kwargs_are_passed_on (line 217) | def test_kwargs_are_passed_on(self): class Elasticsearch2SearchBackendTestCase (line 232) | class Elasticsearch2SearchBackendTestCase(TestCase): method setUp (line 233) | def setUp(self): method tearDown (line 265) | def tearDown(self): method raw_search (line 270) | def raw_search(self, query): method test_non_silent (line 279) | def test_non_silent(self): method test_update_no_documents (line 312) | def test_update_no_documents(self): method test_update (line 330) | def test_update(self): method test_update_with_SkipDocument_raised (line 371) | def test_update_with_SkipDocument_raised(self): method test_remove (line 382) | def test_remove(self): method test_remove_succeeds_on_404 (line 415) | def test_remove_succeeds_on_404(self): method test_clear (line 419) | def test_clear(self): method test_search (line 441) | def test_search(self): method test_spatial_search_parameters (line 571) | def test_spatial_search_parameters(self): method test_more_like_this (line 593) | def test_more_like_this(self): method test_build_schema (line 608) | def test_build_schema(self): method test_verify_type (line 670) | def test_verify_type(self): class CaptureHandler (line 686) | class CaptureHandler(std_logging.Handler): method emit (line 689) | def emit(self, record): class FailedElasticsearch2SearchBackendTestCase (line 693) | class FailedElasticsearch2SearchBackendTestCase(TestCase): method setUp (line 694) | def setUp(self): method tearDown (line 724) | def tearDown(self): method test_all_cases (line 733) | def test_all_cases(self): class LiveElasticsearch2SearchQueryTestCase (line 756) | class LiveElasticsearch2SearchQueryTestCase(TestCase): method setUp (line 759) | def setUp(self): method tearDown (line 777) | def tearDown(self): method test_log_query (line 781) | def test_log_query(self): class LiveElasticsearch2SearchQuerySetTestCase (line 818) | class LiveElasticsearch2SearchQuerySetTestCase(TestCase): method setUp (line 823) | def setUp(self): method tearDown (line 848) | def tearDown(self): method test_load_all (line 853) | def test_load_all(self): method test_iter (line 862) | def test_iter(self): method test_slice (line 870) | def test_slice(self): method test_values_slicing (line 886) | def test_values_slicing(self): method test_count (line 907) | def test_count(self): method test_manual_iter (line 918) | def test_manual_iter(self): method test_fill_cache (line 954) | def test_fill_cache(self): method test_cache_is_full (line 971) | def test_cache_is_full(self): method test___and__ (line 980) | def test___and__(self): method test___or__ (line 1003) | def test___or__(self): method test_auto_query (line 1026) | def test_auto_query(self): method test_regression_proper_start_offsets (line 1039) | def test_regression_proper_start_offsets(self): method test_regression_raw_search_breaks_slicing (line 1057) | def test_regression_raw_search_breaks_slicing(self): method test_related_load_all (line 1070) | def test_related_load_all(self): method test_related_load_all_queryset (line 1079) | def test_related_load_all_queryset(self): method test_related_iter (line 1097) | def test_related_iter(self): method test_related_slice (line 1132) | def test_related_slice(self): method test_related_manual_iter (line 1156) | def test_related_manual_iter(self): method test_related_fill_cache (line 1165) | def test_related_fill_cache(self): method test_related_cache_is_full (line 1182) | def test_related_cache_is_full(self): method test_quotes_regression (line 1191) | def test_quotes_regression(self): method test_query_generation (line 1238) | def test_query_generation(self): method test_result_class (line 1246) | def test_result_class(self): class LiveElasticsearch2SpellingTestCase (line 1261) | class LiveElasticsearch2SpellingTestCase(TestCase): method setUp (line 1266) | def setUp(self): method tearDown (line 1287) | def tearDown(self): method test_spelling (line 1292) | def test_spelling(self): class LiveElasticsearch2MoreLikeThisTestCase (line 1306) | class LiveElasticsearch2MoreLikeThisTestCase(TestCase): method setUp (line 1309) | def setUp(self): method tearDown (line 1327) | def tearDown(self): method test_more_like_this (line 1332) | def test_more_like_this(self): class LiveElasticsearch2AutocompleteTestCase (line 1384) | class LiveElasticsearch2AutocompleteTestCase(TestCase): method setUp (line 1387) | def setUp(self): method tearDown (line 1408) | def tearDown(self): method test_build_schema (line 1413) | def test_build_schema(self): method test_autocomplete (line 1437) | def test_autocomplete(self): class LiveElasticsearch2RoundTripTestCase (line 1502) | class LiveElasticsearch2RoundTripTestCase(TestCase): method setUp (line 1503) | def setUp(self): method tearDown (line 1524) | def tearDown(self): method test_round_trip (line 1529) | def test_round_trip(self): class LiveElasticsearch2PickleTestCase (line 1550) | class LiveElasticsearch2PickleTestCase(TestCase): method setUp (line 1553) | def setUp(self): method tearDown (line 1572) | def tearDown(self): method test_pickling (line 1577) | def test_pickling(self): class Elasticsearch2BoostBackendTestCase (line 1590) | class Elasticsearch2BoostBackendTestCase(TestCase): method setUp (line 1591) | def setUp(self): method tearDown (line 1624) | def tearDown(self): method raw_search (line 1628) | def raw_search(self, query): method test_boost (line 1633) | def test_boost(self): method test__to_python (line 1651) | def test__to_python(self): class RecreateIndexTestCase (line 1671) | class RecreateIndexTestCase(TestCase): method setUp (line 1672) | def setUp(self): method test_recreate_index (line 1677) | def test_recreate_index(self): class Elasticsearch2FacetingTestCase (line 1701) | class Elasticsearch2FacetingTestCase(TestCase): method setUp (line 1702) | def setUp(self): method tearDown (line 1736) | def tearDown(self): method test_facet (line 1740) | def test_facet(self): method test_multiple_narrow (line 1764) | def test_multiple_narrow(self): method test_narrow (line 1775) | def test_narrow(self): method test_date_facet (line 1789) | def test_date_facet(self): FILE: test_haystack/elasticsearch2_tests/test_inputs.py class Elasticsearch2InputTestCase (line 6) | class Elasticsearch2InputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 47) | def test_not_init(self): method test_not_prepare (line 52) | def test_not_prepare(self): method test_autoquery_init (line 56) | def test_autoquery_init(self): method test_autoquery_prepare (line 61) | def test_autoquery_prepare(self): method test_altparser_init (line 67) | def test_altparser_init(self): method test_altparser_prepare (line 80) | def test_altparser_prepare(self): FILE: test_haystack/elasticsearch2_tests/test_query.py class Elasticsearch2SearchQueryTestCase (line 15) | class Elasticsearch2SearchQueryTestCase(TestCase): method setUp (line 16) | def setUp(self): method test_build_query_all (line 20) | def test_build_query_all(self): method test_build_query_single_word (line 23) | def test_build_query_single_word(self): method test_build_query_boolean (line 27) | def test_build_query_boolean(self): method test_regression_slash_search (line 31) | def test_regression_slash_search(self): method test_build_query_datetime (line 35) | def test_build_query_datetime(self): method test_build_query_multiple_words_and (line 39) | def test_build_query_multiple_words_and(self): method test_build_query_multiple_words_not (line 44) | def test_build_query_multiple_words_not(self): method test_build_query_multiple_words_or (line 49) | def test_build_query_multiple_words_or(self): method test_build_query_multiple_words_mixed (line 54) | def test_build_query_multiple_words_mixed(self): method test_build_query_phrase (line 62) | def test_build_query_phrase(self): method test_build_query_boost (line 71) | def test_build_query_boost(self): method test_build_query_multiple_filter_types (line 76) | def test_build_query_multiple_filter_types(self): method test_build_query_multiple_filter_types_with_datetimes (line 89) | def test_build_query_multiple_filter_types_with_datetimes(self): method test_build_query_in_filter_multiple_words (line 102) | def test_build_query_in_filter_multiple_words(self): method test_build_query_in_filter_datetime (line 110) | def test_build_query_in_filter_datetime(self): method test_build_query_in_with_set (line 117) | def test_build_query_in_with_set(self): method test_build_query_wildcard_filter_types (line 124) | def test_build_query_wildcard_filter_types(self): method test_build_query_fuzzy_filter_types (line 129) | def test_build_query_fuzzy_filter_types(self): method test_clean (line 134) | def test_clean(self): method test_build_query_with_models (line 148) | def test_build_query_with_models(self): method test_set_result_class (line 156) | def test_set_result_class(self): method test_in_filter_values_list (line 171) | def test_in_filter_values_list(self): method test_narrow_sq (line 176) | def test_narrow_sq(self): class Elasticsearch2SearchQuerySpatialBeforeReleaseTestCase (line 183) | class Elasticsearch2SearchQuerySpatialBeforeReleaseTestCase(TestCase): method setUp (line 184) | def setUp(self): method tearDown (line 190) | def tearDown(self): method test_build_query_with_dwithin_range (line 193) | def test_build_query_with_dwithin_range(self): class Elasticsearch2SearchQuerySpatialAfterReleaseTestCase (line 215) | class Elasticsearch2SearchQuerySpatialAfterReleaseTestCase(TestCase): method setUp (line 216) | def setUp(self): method tearDown (line 222) | def tearDown(self): method test_build_query_with_dwithin_range (line 225) | def test_build_query_with_dwithin_range(self): FILE: test_haystack/elasticsearch5_tests/__init__.py function setup (line 11) | def setup(): FILE: test_haystack/elasticsearch5_tests/test_backend.py function clear_elasticsearch_index (line 26) | def clear_elasticsearch_index(): class Elasticsearch5MockSearchIndex (line 44) | class Elasticsearch5MockSearchIndex(indexes.SearchIndex, indexes.Indexab... method get_model (line 49) | def get_model(self): class Elasticsearch5MockSearchIndexWithSkipDocument (line 53) | class Elasticsearch5MockSearchIndexWithSkipDocument(Elasticsearch5MockSe... method prepare_text (line 54) | def prepare_text(self, obj): class Elasticsearch5MockSpellingIndex (line 60) | class Elasticsearch5MockSpellingIndex(indexes.SearchIndex, indexes.Index... method get_model (line 65) | def get_model(self): method prepare_text (line 68) | def prepare_text(self, obj): class Elasticsearch5MaintainTypeMockSearchIndex (line 72) | class Elasticsearch5MaintainTypeMockSearchIndex(indexes.SearchIndex, ind... method prepare_month (line 77) | def prepare_month(self, obj): method get_model (line 80) | def get_model(self): class Elasticsearch5MockModelSearchIndex (line 84) | class Elasticsearch5MockModelSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 89) | def get_model(self): class Elasticsearch5AnotherMockModelSearchIndex (line 93) | class Elasticsearch5AnotherMockModelSearchIndex(indexes.SearchIndex, ind... method get_model (line 98) | def get_model(self): method prepare_text (line 101) | def prepare_text(self, obj): class Elasticsearch5BoostMockSearchIndex (line 105) | class Elasticsearch5BoostMockSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 115) | def get_model(self): method prepare (line 118) | def prepare(self, obj): class Elasticsearch5FacetingMockSearchIndex (line 127) | class Elasticsearch5FacetingMockSearchIndex(indexes.SearchIndex, indexes... method prepare_text (line 134) | def prepare_text(self, obj): method get_model (line 137) | def get_model(self): class Elasticsearch5RoundTripSearchIndex (line 141) | class Elasticsearch5RoundTripSearchIndex(indexes.SearchIndex, indexes.In... method get_model (line 153) | def get_model(self): method prepare (line 156) | def prepare(self, obj): class Elasticsearch5ComplexFacetsMockSearchIndex (line 175) | class Elasticsearch5ComplexFacetsMockSearchIndex( method get_model (line 188) | def get_model(self): class Elasticsearch5AutocompleteMockModelSearchIndex (line 192) | class Elasticsearch5AutocompleteMockModelSearchIndex( method get_model (line 201) | def get_model(self): class Elasticsearch5SpatialSearchIndex (line 205) | class Elasticsearch5SpatialSearchIndex(indexes.SearchIndex, indexes.Inde... method prepare_location (line 209) | def prepare_location(self, obj): method get_model (line 212) | def get_model(self): class TestSettings (line 216) | class TestSettings(TestCase): method test_kwargs_are_passed_on (line 217) | def test_kwargs_are_passed_on(self): class Elasticsearch5SearchBackendTestCase (line 232) | class Elasticsearch5SearchBackendTestCase(TestCase): method setUp (line 233) | def setUp(self): method tearDown (line 265) | def tearDown(self): method raw_search (line 270) | def raw_search(self, query): method test_non_silent (line 279) | def test_non_silent(self): method test_update_no_documents (line 312) | def test_update_no_documents(self): method test_update (line 330) | def test_update(self): method test_update_with_SkipDocument_raised (line 371) | def test_update_with_SkipDocument_raised(self): method test_remove (line 382) | def test_remove(self): method test_remove_succeeds_on_404 (line 415) | def test_remove_succeeds_on_404(self): method test_clear (line 419) | def test_clear(self): method test_search (line 441) | def test_search(self): method test_spatial_search_parameters (line 571) | def test_spatial_search_parameters(self): method test_more_like_this (line 593) | def test_more_like_this(self): method test_build_schema (line 608) | def test_build_schema(self): method test_verify_type (line 670) | def test_verify_type(self): class CaptureHandler (line 686) | class CaptureHandler(std_logging.Handler): method emit (line 689) | def emit(self, record): class FailedElasticsearch5SearchBackendTestCase (line 693) | class FailedElasticsearch5SearchBackendTestCase(TestCase): method setUp (line 694) | def setUp(self): method tearDown (line 724) | def tearDown(self): method test_all_cases (line 733) | def test_all_cases(self): class LiveElasticsearch5SearchQueryTestCase (line 756) | class LiveElasticsearch5SearchQueryTestCase(TestCase): method setUp (line 759) | def setUp(self): method tearDown (line 777) | def tearDown(self): method test_log_query (line 781) | def test_log_query(self): class LiveElasticsearch5SearchQuerySetTestCase (line 818) | class LiveElasticsearch5SearchQuerySetTestCase(TestCase): method setUp (line 823) | def setUp(self): method tearDown (line 848) | def tearDown(self): method test_load_all (line 853) | def test_load_all(self): method test_iter (line 862) | def test_iter(self): method test_slice (line 870) | def test_slice(self): method test_values_slicing (line 886) | def test_values_slicing(self): method test_count (line 907) | def test_count(self): method test_manual_iter (line 918) | def test_manual_iter(self): method test_fill_cache (line 954) | def test_fill_cache(self): method test_cache_is_full (line 971) | def test_cache_is_full(self): method test___and__ (line 980) | def test___and__(self): method test___or__ (line 1003) | def test___or__(self): method test_auto_query (line 1026) | def test_auto_query(self): method test_regression_proper_start_offsets (line 1039) | def test_regression_proper_start_offsets(self): method test_regression_raw_search_breaks_slicing (line 1057) | def test_regression_raw_search_breaks_slicing(self): method test_related_load_all (line 1070) | def test_related_load_all(self): method test_related_load_all_queryset (line 1079) | def test_related_load_all_queryset(self): method test_related_iter (line 1097) | def test_related_iter(self): method test_related_slice (line 1132) | def test_related_slice(self): method test_related_manual_iter (line 1156) | def test_related_manual_iter(self): method test_related_fill_cache (line 1165) | def test_related_fill_cache(self): method test_related_cache_is_full (line 1182) | def test_related_cache_is_full(self): method test_quotes_regression (line 1191) | def test_quotes_regression(self): method test_query_generation (line 1238) | def test_query_generation(self): method test_result_class (line 1246) | def test_result_class(self): class LiveElasticsearch5SpellingTestCase (line 1261) | class LiveElasticsearch5SpellingTestCase(TestCase): method setUp (line 1266) | def setUp(self): method tearDown (line 1287) | def tearDown(self): method test_spelling (line 1292) | def test_spelling(self): class LiveElasticsearch5MoreLikeThisTestCase (line 1306) | class LiveElasticsearch5MoreLikeThisTestCase(TestCase): method setUp (line 1309) | def setUp(self): method tearDown (line 1327) | def tearDown(self): method test_more_like_this (line 1332) | def test_more_like_this(self): class LiveElasticsearch5AutocompleteTestCase (line 1384) | class LiveElasticsearch5AutocompleteTestCase(TestCase): method setUp (line 1387) | def setUp(self): method tearDown (line 1408) | def tearDown(self): method test_build_schema (line 1413) | def test_build_schema(self): method test_autocomplete (line 1437) | def test_autocomplete(self): class LiveElasticsearch5RoundTripTestCase (line 1502) | class LiveElasticsearch5RoundTripTestCase(TestCase): method setUp (line 1503) | def setUp(self): method tearDown (line 1524) | def tearDown(self): method test_round_trip (line 1529) | def test_round_trip(self): class LiveElasticsearch5PickleTestCase (line 1550) | class LiveElasticsearch5PickleTestCase(TestCase): method setUp (line 1553) | def setUp(self): method tearDown (line 1572) | def tearDown(self): method test_pickling (line 1577) | def test_pickling(self): class Elasticsearch5BoostBackendTestCase (line 1590) | class Elasticsearch5BoostBackendTestCase(TestCase): method setUp (line 1591) | def setUp(self): method tearDown (line 1624) | def tearDown(self): method raw_search (line 1628) | def raw_search(self, query): method test_boost (line 1633) | def test_boost(self): method test__to_python (line 1651) | def test__to_python(self): class RecreateIndexTestCase (line 1671) | class RecreateIndexTestCase(TestCase): method setUp (line 1672) | def setUp(self): method test_recreate_index (line 1677) | def test_recreate_index(self): class Elasticsearch5FacetingTestCase (line 1701) | class Elasticsearch5FacetingTestCase(TestCase): method setUp (line 1702) | def setUp(self): method tearDown (line 1736) | def tearDown(self): method test_facet (line 1740) | def test_facet(self): method test_multiple_narrow (line 1764) | def test_multiple_narrow(self): method test_narrow (line 1775) | def test_narrow(self): method test_date_facet (line 1789) | def test_date_facet(self): FILE: test_haystack/elasticsearch5_tests/test_inputs.py class Elasticsearch5InputTestCase (line 6) | class Elasticsearch5InputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 47) | def test_not_init(self): method test_not_prepare (line 52) | def test_not_prepare(self): method test_autoquery_init (line 56) | def test_autoquery_init(self): method test_autoquery_prepare (line 61) | def test_autoquery_prepare(self): method test_altparser_init (line 67) | def test_altparser_init(self): method test_altparser_prepare (line 80) | def test_altparser_prepare(self): FILE: test_haystack/elasticsearch5_tests/test_query.py class Elasticsearch5SearchQueryTestCase (line 14) | class Elasticsearch5SearchQueryTestCase(TestCase): method setUp (line 15) | def setUp(self): method test_build_query_all (line 19) | def test_build_query_all(self): method test_build_query_single_word (line 22) | def test_build_query_single_word(self): method test_build_query_boolean (line 26) | def test_build_query_boolean(self): method test_regression_slash_search (line 30) | def test_regression_slash_search(self): method test_build_query_datetime (line 34) | def test_build_query_datetime(self): method test_build_query_multiple_words_and (line 38) | def test_build_query_multiple_words_and(self): method test_build_query_multiple_words_not (line 43) | def test_build_query_multiple_words_not(self): method test_build_query_multiple_words_or (line 48) | def test_build_query_multiple_words_or(self): method test_build_query_multiple_words_mixed (line 53) | def test_build_query_multiple_words_mixed(self): method test_build_query_phrase (line 61) | def test_build_query_phrase(self): method test_build_query_boost (line 70) | def test_build_query_boost(self): method test_build_query_multiple_filter_types (line 75) | def test_build_query_multiple_filter_types(self): method test_build_query_multiple_filter_types_with_datetimes (line 88) | def test_build_query_multiple_filter_types_with_datetimes(self): method test_build_query_in_filter_multiple_words (line 101) | def test_build_query_in_filter_multiple_words(self): method test_build_query_in_filter_datetime (line 109) | def test_build_query_in_filter_datetime(self): method test_build_query_in_with_set (line 116) | def test_build_query_in_with_set(self): method test_build_query_wildcard_filter_types (line 123) | def test_build_query_wildcard_filter_types(self): method test_build_query_fuzzy_filter_types (line 128) | def test_build_query_fuzzy_filter_types(self): method test_clean (line 133) | def test_clean(self): method test_build_query_with_models (line 147) | def test_build_query_with_models(self): method test_set_result_class (line 155) | def test_set_result_class(self): method test_in_filter_values_list (line 170) | def test_in_filter_values_list(self): method test_narrow_sq (line 175) | def test_narrow_sq(self): method test_build_query_with_dwithin_range (line 181) | def test_build_query_with_dwithin_range(self): FILE: test_haystack/elasticsearch_tests/__init__.py function setup (line 11) | def setup(): FILE: test_haystack/elasticsearch_tests/test_elasticsearch_backend.py function clear_elasticsearch_index (line 27) | def clear_elasticsearch_index(): class ElasticsearchMockSearchIndex (line 45) | class ElasticsearchMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 50) | def get_model(self): class ElasticsearchMockSearchIndexWithSkipDocument (line 54) | class ElasticsearchMockSearchIndexWithSkipDocument(ElasticsearchMockSear... method prepare_text (line 55) | def prepare_text(self, obj): class ElasticsearchMockSpellingIndex (line 61) | class ElasticsearchMockSpellingIndex(indexes.SearchIndex, indexes.Indexa... method get_model (line 66) | def get_model(self): method prepare_text (line 69) | def prepare_text(self, obj): class ElasticsearchMaintainTypeMockSearchIndex (line 73) | class ElasticsearchMaintainTypeMockSearchIndex(indexes.SearchIndex, inde... method prepare_month (line 78) | def prepare_month(self, obj): method get_model (line 81) | def get_model(self): class ElasticsearchMockModelSearchIndex (line 85) | class ElasticsearchMockModelSearchIndex(indexes.SearchIndex, indexes.Ind... method get_model (line 90) | def get_model(self): class ElasticsearchAnotherMockModelSearchIndex (line 94) | class ElasticsearchAnotherMockModelSearchIndex(indexes.SearchIndex, inde... method get_model (line 99) | def get_model(self): method prepare_text (line 102) | def prepare_text(self, obj): class ElasticsearchBoostMockSearchIndex (line 106) | class ElasticsearchBoostMockSearchIndex(indexes.SearchIndex, indexes.Ind... method get_model (line 116) | def get_model(self): method prepare (line 119) | def prepare(self, obj): class ElasticsearchFacetingMockSearchIndex (line 128) | class ElasticsearchFacetingMockSearchIndex(indexes.SearchIndex, indexes.... method prepare_text (line 135) | def prepare_text(self, obj): method get_model (line 138) | def get_model(self): class ElasticsearchRoundTripSearchIndex (line 142) | class ElasticsearchRoundTripSearchIndex(indexes.SearchIndex, indexes.Ind... method get_model (line 154) | def get_model(self): method prepare (line 157) | def prepare(self, obj): class ElasticsearchComplexFacetsMockSearchIndex (line 176) | class ElasticsearchComplexFacetsMockSearchIndex(indexes.SearchIndex, ind... method get_model (line 187) | def get_model(self): class ElasticsearchAutocompleteMockModelSearchIndex (line 191) | class ElasticsearchAutocompleteMockModelSearchIndex( method get_model (line 200) | def get_model(self): class ElasticsearchSpatialSearchIndex (line 204) | class ElasticsearchSpatialSearchIndex(indexes.SearchIndex, indexes.Index... method prepare_location (line 208) | def prepare_location(self, obj): method get_model (line 211) | def get_model(self): class TestSettings (line 215) | class TestSettings(TestCase): method test_kwargs_are_passed_on (line 216) | def test_kwargs_are_passed_on(self): class ElasticSearchMockUnifiedIndex (line 231) | class ElasticSearchMockUnifiedIndex(UnifiedIndex): method get_index (line 235) | def get_index(self, model_klass): method spy (line 241) | def spy(self): class ElasticsearchSearchBackendTestCase (line 249) | class ElasticsearchSearchBackendTestCase(TestCase): method setUp (line 250) | def setUp(self): method tearDown (line 282) | def tearDown(self): method raw_search (line 287) | def raw_search(self, query): method test_non_silent (line 296) | def test_non_silent(self): method test_update_no_documents (line 329) | def test_update_no_documents(self): method test_update (line 347) | def test_update(self): method test_update_with_SkipDocument_raised (line 388) | def test_update_with_SkipDocument_raised(self): method test_remove (line 399) | def test_remove(self): method test_remove_succeeds_on_404 (line 432) | def test_remove_succeeds_on_404(self): method test_clear (line 436) | def test_clear(self): method test_results_ask_for_index_per_entry (line 458) | def test_results_ask_for_index_per_entry(self): method test_search (line 465) | def test_search(self): method test_spatial_search_parameters (line 611) | def test_spatial_search_parameters(self): method test_more_like_this (line 633) | def test_more_like_this(self): method test_build_schema (line 648) | def test_build_schema(self): method test_verify_type (line 710) | def test_verify_type(self): class CaptureHandler (line 726) | class CaptureHandler(std_logging.Handler): method emit (line 729) | def emit(self, record): class FailedElasticsearchSearchBackendTestCase (line 733) | class FailedElasticsearchSearchBackendTestCase(TestCase): method setUp (line 734) | def setUp(self): method tearDown (line 764) | def tearDown(self): method test_all_cases (line 773) | def test_all_cases(self): class LiveElasticsearchSearchQueryTestCase (line 796) | class LiveElasticsearchSearchQueryTestCase(TestCase): method setUp (line 799) | def setUp(self): method tearDown (line 817) | def tearDown(self): method test_log_query (line 821) | def test_log_query(self): class LiveElasticsearchSearchQuerySetTestCase (line 858) | class LiveElasticsearchSearchQuerySetTestCase(TestCase): method setUp (line 863) | def setUp(self): method tearDown (line 888) | def tearDown(self): method test_load_all (line 893) | def test_load_all(self): method test_iter (line 902) | def test_iter(self): method test_slice (line 910) | def test_slice(self): method test_values_slicing (line 926) | def test_values_slicing(self): method test_count (line 947) | def test_count(self): method test_highlight (line 958) | def test_highlight(self): method test_highlight_options (line 963) | def test_highlight_options(self): method test_manual_iter (line 969) | def test_manual_iter(self): method test_fill_cache (line 1007) | def test_fill_cache(self): method test_cache_is_full (line 1024) | def test_cache_is_full(self): method test___and__ (line 1034) | def test___and__(self): method test___or__ (line 1057) | def test___or__(self): method test_auto_query (line 1080) | def test_auto_query(self): method test_query__in (line 1091) | def test_query__in(self): method test_query__in_empty_list (line 1096) | def test_query__in_empty_list(self): method test_regression_proper_start_offsets (line 1104) | def test_regression_proper_start_offsets(self): method test_regression_raw_search_breaks_slicing (line 1122) | def test_regression_raw_search_breaks_slicing(self): method test_related_load_all (line 1135) | def test_related_load_all(self): method test_related_load_all_queryset (line 1144) | def test_related_load_all_queryset(self): method test_related_iter (line 1162) | def test_related_iter(self): method test_related_slice (line 1199) | def test_related_slice(self): method test_related_manual_iter (line 1223) | def test_related_manual_iter(self): method test_related_fill_cache (line 1232) | def test_related_fill_cache(self): method test_related_cache_is_full (line 1249) | def test_related_cache_is_full(self): method test_quotes_regression (line 1259) | def test_quotes_regression(self): method test_query_generation (line 1306) | def test_query_generation(self): method test_result_class (line 1314) | def test_result_class(self): class LiveElasticsearchSpellingTestCase (line 1329) | class LiveElasticsearchSpellingTestCase(TestCase): method setUp (line 1334) | def setUp(self): method tearDown (line 1355) | def tearDown(self): method test_spelling (line 1360) | def test_spelling(self): class LiveElasticsearchMoreLikeThisTestCase (line 1379) | class LiveElasticsearchMoreLikeThisTestCase(TestCase): method setUp (line 1382) | def setUp(self): method tearDown (line 1400) | def tearDown(self): method test_more_like_this (line 1405) | def test_more_like_this(self): class LiveElasticsearchAutocompleteTestCase (line 1454) | class LiveElasticsearchAutocompleteTestCase(TestCase): method setUp (line 1457) | def setUp(self): method tearDown (line 1478) | def tearDown(self): method test_build_schema (line 1483) | def test_build_schema(self): method test_autocomplete (line 1507) | def test_autocomplete(self): class LiveElasticsearchRoundTripTestCase (line 1589) | class LiveElasticsearchRoundTripTestCase(TestCase): method setUp (line 1590) | def setUp(self): method tearDown (line 1611) | def tearDown(self): method test_round_trip (line 1616) | def test_round_trip(self): class LiveElasticsearchPickleTestCase (line 1637) | class LiveElasticsearchPickleTestCase(TestCase): method setUp (line 1640) | def setUp(self): method tearDown (line 1659) | def tearDown(self): method test_pickling (line 1664) | def test_pickling(self): class ElasticsearchBoostBackendTestCase (line 1677) | class ElasticsearchBoostBackendTestCase(TestCase): method setUp (line 1678) | def setUp(self): method tearDown (line 1711) | def tearDown(self): method raw_search (line 1715) | def raw_search(self, query): method test_boost (line 1720) | def test_boost(self): method test__to_python (line 1740) | def test__to_python(self): class RecreateIndexTestCase (line 1760) | class RecreateIndexTestCase(TestCase): method setUp (line 1761) | def setUp(self): method test_recreate_index (line 1766) | def test_recreate_index(self): class ElasticsearchFacetingTestCase (line 1790) | class ElasticsearchFacetingTestCase(TestCase): method setUp (line 1791) | def setUp(self): method tearDown (line 1825) | def tearDown(self): method test_facet (line 1829) | def test_facet(self): method test_multiple_narrow (line 1853) | def test_multiple_narrow(self): method test_narrow (line 1864) | def test_narrow(self): method test_date_facet (line 1878) | def test_date_facet(self): FILE: test_haystack/elasticsearch_tests/test_elasticsearch_query.py class ElasticsearchSearchQueryTestCase (line 15) | class ElasticsearchSearchQueryTestCase(TestCase): method setUp (line 18) | def setUp(self): method test_build_query_all (line 22) | def test_build_query_all(self): method test_build_query_single_word (line 25) | def test_build_query_single_word(self): method test_build_query_boolean (line 29) | def test_build_query_boolean(self): method test_regression_slash_search (line 33) | def test_regression_slash_search(self): method test_build_query_datetime (line 37) | def test_build_query_datetime(self): method test_build_query_multiple_words_and (line 41) | def test_build_query_multiple_words_and(self): method test_build_query_multiple_words_not (line 46) | def test_build_query_multiple_words_not(self): method test_build_query_multiple_words_or (line 51) | def test_build_query_multiple_words_or(self): method test_build_query_multiple_words_mixed (line 56) | def test_build_query_multiple_words_mixed(self): method test_build_query_phrase (line 64) | def test_build_query_phrase(self): method test_build_query_boost (line 73) | def test_build_query_boost(self): method test_build_query_multiple_filter_types (line 78) | def test_build_query_multiple_filter_types(self): method test_build_query_multiple_filter_types_with_datetimes (line 91) | def test_build_query_multiple_filter_types_with_datetimes(self): method test_build_query_in_filter_multiple_words (line 104) | def test_build_query_in_filter_multiple_words(self): method test_build_query_in_filter_datetime (line 112) | def test_build_query_in_filter_datetime(self): method test_build_query_in_with_set (line 119) | def test_build_query_in_with_set(self): method test_build_query_wildcard_filter_types (line 126) | def test_build_query_wildcard_filter_types(self): method test_build_query_fuzzy_filter_types (line 131) | def test_build_query_fuzzy_filter_types(self): method test_build_query_with_contains (line 136) | def test_build_query_with_contains(self): method test_build_query_with_endswith (line 141) | def test_build_query_with_endswith(self): method test_clean (line 146) | def test_clean(self): method test_build_query_with_models (line 160) | def test_build_query_with_models(self): method test_set_result_class (line 168) | def test_set_result_class(self): method test_in_filter_values_list (line 183) | def test_in_filter_values_list(self): method test_narrow_sq (line 188) | def test_narrow_sq(self): method test_query__in (line 194) | def test_query__in(self): method test_query__in_empty_list (line 198) | def test_query__in_empty_list(self): class ElasticsearchSearchQuerySpatialBeforeReleaseTestCase (line 204) | class ElasticsearchSearchQuerySpatialBeforeReleaseTestCase(TestCase): method setUp (line 205) | def setUp(self): method tearDown (line 211) | def tearDown(self): method test_build_query_with_dwithin_range (line 214) | def test_build_query_with_dwithin_range(self): class ElasticsearchSearchQuerySpatialAfterReleaseTestCase (line 236) | class ElasticsearchSearchQuerySpatialAfterReleaseTestCase(TestCase): method setUp (line 237) | def setUp(self): method tearDown (line 243) | def tearDown(self): method test_build_query_with_dwithin_range (line 246) | def test_build_query_with_dwithin_range(self): FILE: test_haystack/elasticsearch_tests/test_inputs.py class ElasticsearchInputTestCase (line 6) | class ElasticsearchInputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 47) | def test_not_init(self): method test_not_prepare (line 52) | def test_not_prepare(self): method test_autoquery_init (line 56) | def test_autoquery_init(self): method test_autoquery_prepare (line 61) | def test_autoquery_prepare(self): method test_altparser_init (line 67) | def test_altparser_init(self): method test_altparser_prepare (line 80) | def test_altparser_prepare(self): FILE: test_haystack/mocks.py class MockMasterSlaveRouter (line 9) | class MockMasterSlaveRouter(BaseRouter): method for_read (line 10) | def for_read(self, **hints): method for_write (line 13) | def for_write(self, **hints): class MockPassthroughRouter (line 17) | class MockPassthroughRouter(BaseRouter): method for_read (line 18) | def for_read(self, **hints): method for_write (line 24) | def for_write(self, **hints): class MockMultiRouter (line 31) | class MockMultiRouter(BaseRouter): method for_write (line 32) | def for_write(self, **hints): class MockSearchResult (line 36) | class MockSearchResult(SearchResult): method __init__ (line 37) | def __init__(self, app_label, model_name, pk, score, **kwargs): class MockSearchBackend (line 48) | class MockSearchBackend(BaseSearchBackend): method update (line 51) | def update(self, index, iterable, commit=True): method remove (line 57) | def remove(self, obj, commit=True): method clear (line 62) | def clear(self, models=None, commit=True): method search (line 67) | def search(self, query_string, **kwargs): method more_like_this (line 104) | def more_like_this( class CharPKMockSearchBackend (line 110) | class CharPKMockSearchBackend(MockSearchBackend): class UUIDMockSearchBackend (line 118) | class UUIDMockSearchBackend(MockSearchBackend): class ReadQuerySetMockSearchBackend (line 130) | class ReadQuerySetMockSearchBackend(MockSearchBackend): class MixedMockSearchBackend (line 138) | class MixedMockSearchBackend(MockSearchBackend): method search (line 140) | def search(self, query_string, **kwargs): class MockSearchQuery (line 162) | class MockSearchQuery(BaseSearchQuery): method build_query (line 163) | def build_query(self): method clean (line 166) | def clean(self, query_fragment): class MockEngine (line 179) | class MockEngine(BaseEngine): FILE: test_haystack/multipleindex/__init__.py function setup (line 11) | def setup(): function teardown (line 21) | def teardown(): FILE: test_haystack/multipleindex/models.py class Foo (line 4) | class Foo(models.Model): method __str__ (line 8) | def __str__(self): class Bar (line 12) | class Bar(models.Model): method __str__ (line 16) | def __str__(self): FILE: test_haystack/multipleindex/routers.py class MultipleIndexRouter (line 4) | class MultipleIndexRouter(BaseRouter): method for_write (line 5) | def for_write(self, instance=None, **hints): FILE: test_haystack/multipleindex/search_indexes.py class BaseIndex (line 8) | class BaseIndex(indexes.SearchIndex): method get_model (line 11) | def get_model(self): class FooIndex (line 15) | class FooIndex(BaseIndex, indexes.Indexable): method index_queryset (line 16) | def index_queryset(self, using=None): class BarIndex (line 26) | class BarIndex(SearchIndex, Indexable): method get_model (line 29) | def get_model(self): method prepare_text (line 32) | def prepare_text(self, obj): FILE: test_haystack/multipleindex/tests.py class MultipleIndexTestCase (line 13) | class MultipleIndexTestCase(WhooshTestCase): method setUp (line 14) | def setUp(self): method tearDown (line 43) | def tearDown(self): method test_index_update_object_using (line 48) | def test_index_update_object_using(self): method test_index_remove_object_using (line 68) | def test_index_remove_object_using(self): method test_index_clear_using (line 88) | def test_index_clear_using(self): method test_index_update_using (line 106) | def test_index_update_using(self): method test_searchqueryset_using (line 129) | def test_searchqueryset_using(self): method test_searchquery_using (line 144) | def test_searchquery_using(self): method test_excluded_indexes (line 158) | def test_excluded_indexes(self): method test_filtered_index_update (line 169) | def test_filtered_index_update(self): class TestSignalProcessor (line 183) | class TestSignalProcessor(BaseSignalProcessor): method setup (line 184) | def setup(self): method teardown (line 188) | def teardown(self): class SignalProcessorTestCase (line 193) | class SignalProcessorTestCase(WhooshTestCase): method setUp (line 194) | def setUp(self): method tearDown (line 219) | def tearDown(self): method test_init (line 224) | def test_init(self): method test_setup (line 234) | def test_setup(self): method test_teardown (line 239) | def test_teardown(self): method test_handle_save (line 244) | def test_handle_save(self): method test_handle_delete (line 287) | def test_handle_delete(self): FILE: test_haystack/results_per_page_urls.py class CustomPerPage (line 6) | class CustomPerPage(SearchView): FILE: test_haystack/run_tests.py function run_all (line 8) | def run_all(argv=None): FILE: test_haystack/simple_tests/search_indexes.py class SimpleMockSearchIndex (line 6) | class SimpleMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 11) | def get_model(self): class SimpleMockScoreIndex (line 15) | class SimpleMockScoreIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 19) | def get_model(self): class SimpleMockUUIDModelIndex (line 23) | class SimpleMockUUIDModelIndex(indexes.SearchIndex, indexes.Indexable): FILE: test_haystack/simple_tests/test_simple_backend.py class SimpleSearchBackendTestCase (line 15) | class SimpleSearchBackendTestCase(TestCase): method setUp (line 18) | def setUp(self): method test_update (line 27) | def test_update(self): method test_remove (line 30) | def test_remove(self): method test_clear (line 33) | def test_clear(self): method test_search (line 36) | def test_search(self): method test_filter_models (line 196) | def test_filter_models(self): method test_more_like_this (line 201) | def test_more_like_this(self): method test_score_field_collision (line 208) | def test_score_field_collision(self): class LiveSimpleSearchQuerySetTestCase (line 220) | class LiveSimpleSearchQuerySetTestCase(TestCase): method setUp (line 223) | def setUp(self): method tearDown (line 236) | def tearDown(self): method test_general_queries (line 241) | def test_general_queries(self): method test_general_queries_unicode (line 249) | def test_general_queries_unicode(self): method test_more_like_this (line 252) | def test_more_like_this(self): method test_values_queries (line 257) | def test_values_queries(self): FILE: test_haystack/simple_tests/test_simple_query.py class SimpleSearchQueryTestCase (line 8) | class SimpleSearchQueryTestCase(TestCase): method setUp (line 9) | def setUp(self): method test_build_query_all (line 13) | def test_build_query_all(self): method test_build_query_single_word (line 16) | def test_build_query_single_word(self): method test_build_query_multiple_word (line 20) | def test_build_query_multiple_word(self): method test_set_result_class (line 25) | def test_set_result_class(self): FILE: test_haystack/solr_tests/__init__.py function setup (line 8) | def setup(): FILE: test_haystack/solr_tests/test_admin.py class SearchModelAdminTestCase (line 15) | class SearchModelAdminTestCase(TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 39) | def tearDown(self): method test_usage (line 44) | def test_usage(self): FILE: test_haystack/solr_tests/test_inputs.py class SolrInputTestCase (line 6) | class SolrInputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 47) | def test_not_init(self): method test_not_prepare (line 52) | def test_not_prepare(self): method test_autoquery_init (line 56) | def test_autoquery_init(self): method test_autoquery_prepare (line 61) | def test_autoquery_prepare(self): method test_altparser_init (line 67) | def test_altparser_init(self): method test_altparser_prepare (line 80) | def test_altparser_prepare(self): FILE: test_haystack/solr_tests/test_solr_backend.py function clear_solr_index (line 26) | def clear_solr_index(): class SolrMockSearchIndex (line 33) | class SolrMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 38) | def get_model(self): class SolrMockSearchIndexWithSkipDocument (line 42) | class SolrMockSearchIndexWithSkipDocument(SolrMockSearchIndex): method prepare_text (line 43) | def prepare_text(self, obj): class SolrMockOverriddenFieldNameSearchIndex (line 49) | class SolrMockOverriddenFieldNameSearchIndex(indexes.SearchIndex, indexe... method prepare_today (line 57) | def prepare_today(self, obj): method get_model (line 60) | def get_model(self): class SolrMaintainTypeMockSearchIndex (line 64) | class SolrMaintainTypeMockSearchIndex(indexes.SearchIndex, indexes.Index... method prepare_month (line 69) | def prepare_month(self, obj): method get_model (line 72) | def get_model(self): class SolrMockModelSearchIndex (line 76) | class SolrMockModelSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 81) | def get_model(self): class SolrAnotherMockModelSearchIndex (line 85) | class SolrAnotherMockModelSearchIndex(indexes.SearchIndex, indexes.Index... method get_model (line 90) | def get_model(self): method prepare_text (line 93) | def prepare_text(self, obj): class SolrBoostMockSearchIndex (line 97) | class SolrBoostMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 107) | def get_model(self): class SolrRoundTripSearchIndex (line 111) | class SolrRoundTripSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 123) | def get_model(self): method prepare (line 126) | def prepare(self, obj): class SolrComplexFacetsMockSearchIndex (line 145) | class SolrComplexFacetsMockSearchIndex(indexes.SearchIndex, indexes.Inde... method get_model (line 156) | def get_model(self): class SolrAutocompleteMockModelSearchIndex (line 160) | class SolrAutocompleteMockModelSearchIndex(indexes.SearchIndex, indexes.... method get_model (line 167) | def get_model(self): class SolrSpatialSearchIndex (line 171) | class SolrSpatialSearchIndex(indexes.SearchIndex, indexes.Indexable): method prepare_location (line 175) | def prepare_location(self, obj): method get_model (line 178) | def get_model(self): class SolrQuotingMockSearchIndex (line 182) | class SolrQuotingMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 185) | def get_model(self): method prepare_text (line 188) | def prepare_text(self, obj): class SolrSearchBackendTestCase (line 192) | class SolrSearchBackendTestCase(TestCase): method setUp (line 193) | def setUp(self): method tearDown (line 221) | def tearDown(self): method test_non_silent (line 225) | def test_non_silent(self): method test_update (line 254) | def test_update(self): method test_update_with_SkipDocument_raised (line 295) | def test_update_with_SkipDocument_raised(self): method test_remove (line 307) | def test_remove(self): method test_clear (line 340) | def test_clear(self): method test_alternate_index_fieldname (line 362) | def test_alternate_index_fieldname(self): method test_search (line 386) | def test_search(self): method test_spelling (line 540) | def test_spelling(self): method test_spatial_search_parameters (line 550) | def test_spatial_search_parameters(self): method test_altparser_query (line 566) | def test_altparser_query(self): method test_raw_query (line 602) | def test_raw_query(self): method test_altparser_quoting (line 613) | def test_altparser_quoting(self): method test_more_like_this (line 625) | def test_more_like_this(self): method test_build_schema (line 640) | def test_build_schema(self): method test_verify_type (line 797) | def test_verify_type(self): class CaptureHandler (line 813) | class CaptureHandler(std_logging.Handler): method emit (line 816) | def emit(self, record): class FailedSolrSearchBackendTestCase (line 822) | class FailedSolrSearchBackendTestCase(TestCase): method test_all_cases (line 823) | def test_all_cases(self, mock_send_request, mock_log): class LiveSolrSearchQueryTestCase (line 860) | class LiveSolrSearchQueryTestCase(TestCase): method setUp (line 863) | def setUp(self): method tearDown (line 881) | def tearDown(self): method test_get_spelling (line 885) | def test_get_spelling(self): method test_log_query (line 896) | def test_log_query(self): class LiveSolrSearchQuerySetTestCase (line 930) | class LiveSolrSearchQuerySetTestCase(TestCase): method setUpClass (line 936) | def setUpClass(cls): method tearDownClass (line 941) | def tearDownClass(cls): method setUp (line 945) | def setUp(self): method tearDown (line 969) | def tearDown(self): method test_load_all (line 974) | def test_load_all(self): method test_iter (line 986) | def test_iter(self): method test_slice (line 994) | def test_slice(self): method test_values_list_slice (line 1010) | def test_values_list_slice(self): method test_count (line 1031) | def test_count(self): method test_manual_iter (line 1042) | def test_manual_iter(self): method test_fill_cache (line 1051) | def test_fill_cache(self): method test_cache_is_full (line 1068) | def test_cache_is_full(self): method test___and__ (line 1078) | def test___and__(self): method test___or__ (line 1101) | def test___or__(self): method test_auto_query (line 1124) | def test_auto_query(self): method test_query__in (line 1142) | def test_query__in(self): method test_query__in_empty_list (line 1147) | def test_query__in_empty_list(self): method test_regression_proper_start_offsets (line 1155) | def test_regression_proper_start_offsets(self): method test_regression_raw_search_breaks_slicing (line 1173) | def test_regression_raw_search_breaks_slicing(self): method test_related_load_all (line 1186) | def test_related_load_all(self): method test_related_load_all_queryset (line 1200) | def test_related_load_all_queryset(self): method test_related_iter (line 1219) | def test_related_iter(self): method test_related_slice (line 1227) | def test_related_slice(self): method test_related_manual_iter (line 1249) | def test_related_manual_iter(self): method test_related_fill_cache (line 1257) | def test_related_fill_cache(self): method test_related_cache_is_full (line 1274) | def test_related_cache_is_full(self): method test_quotes_regression (line 1284) | def test_quotes_regression(self): method test_query_generation (line 1334) | def test_query_generation(self): method test_result_class (line 1342) | def test_result_class(self): class LiveSolrMoreLikeThisTestCase (line 1356) | class LiveSolrMoreLikeThisTestCase(TestCase): method setUp (line 1359) | def setUp(self): method tearDown (line 1377) | def tearDown(self): method test_more_like_this (line 1382) | def test_more_like_this(self): method test_more_like_this_defer (line 1427) | def test_more_like_this_defer(self): method test_more_like_this_custom_result_class (line 1435) | def test_more_like_this_custom_result_class(self): class LiveSolrAutocompleteTestCase (line 1443) | class LiveSolrAutocompleteTestCase(TestCase): method setUp (line 1446) | def setUp(self): method tearDown (line 1463) | def tearDown(self): method test_autocomplete (line 1468) | def test_autocomplete(self): class LiveSolrRoundTripTestCase (line 1505) | class LiveSolrRoundTripTestCase(TestCase): method setUp (line 1506) | def setUp(self): method tearDown (line 1527) | def tearDown(self): method test_round_trip (line 1532) | def test_round_trip(self): class LiveSolrPickleTestCase (line 1553) | class LiveSolrPickleTestCase(TestCase): method setUp (line 1556) | def setUp(self): method tearDown (line 1575) | def tearDown(self): method test_pickling (line 1580) | def test_pickling(self): class SolrBoostBackendTestCase (line 1593) | class SolrBoostBackendTestCase(TestCase): method setUp (line 1594) | def setUp(self): method tearDown (line 1625) | def tearDown(self): method test_boost (line 1629) | def test_boost(self): class LiveSolrContentExtractionTestCase (line 1652) | class LiveSolrContentExtractionTestCase(TestCase): method setUp (line 1653) | def setUp(self): method test_content_extraction (line 1658) | def test_content_extraction(self): FILE: test_haystack/solr_tests/test_solr_management_commands.py class SolrMockSearchIndex (line 20) | class SolrMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 25) | def get_model(self): method get_updated_field (line 28) | def get_updated_field(self): class SolrMockTagSearchIndex (line 32) | class SolrMockTagSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 35) | def get_model(self): class SolrMockSecretKeySearchIndex (line 39) | class SolrMockSecretKeySearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 42) | def get_model(self): class ManagementCommandTestCase (line 46) | class ManagementCommandTestCase(TestCase): method setUp (line 49) | def setUp(self): method tearDown (line 60) | def tearDown(self): method verify_indexed_documents (line 64) | def verify_indexed_documents(self): method test_basic_commands (line 78) | def test_basic_commands(self): method test_remove (line 100) | def test_remove(self): method test_age (line 127) | def test_age(self): method test_age_with_time_zones (line 144) | def test_age_with_time_zones(self): method test_dates (line 161) | def test_dates(self): method test_multiprocessing (line 191) | def test_multiprocessing(self): method test_build_schema_wrong_backend (line 204) | def test_build_schema_wrong_backend(self): method test_build_schema (line 216) | def test_build_schema(self): class AppModelManagementCommandTestCase (line 287) | class AppModelManagementCommandTestCase(TestCase): method setUp (line 290) | def setUp(self): method tearDown (line 302) | def tearDown(self): method test_app_model_variations (line 306) | def test_app_model_variations(self): FILE: test_haystack/solr_tests/test_solr_query.py class SolrSearchQueryTestCase (line 13) | class SolrSearchQueryTestCase(TestCase): method setUp (line 16) | def setUp(self): method test_build_query_all (line 20) | def test_build_query_all(self): method test_build_query_single_word (line 23) | def test_build_query_single_word(self): method test_build_query_boolean (line 27) | def test_build_query_boolean(self): method test_build_query_datetime (line 31) | def test_build_query_datetime(self): method test_build_query_multiple_words_and (line 35) | def test_build_query_multiple_words_and(self): method test_build_query_multiple_words_not (line 40) | def test_build_query_multiple_words_not(self): method test_build_query_multiple_words_or (line 45) | def test_build_query_multiple_words_or(self): method test_build_query_multiple_words_mixed (line 50) | def test_build_query_multiple_words_mixed(self): method test_build_query_phrase (line 58) | def test_build_query_phrase(self): method test_build_query_boost (line 67) | def test_build_query_boost(self): method test_correct_exact (line 72) | def test_correct_exact(self): method test_build_query_multiple_filter_types (line 76) | def test_build_query_multiple_filter_types(self): method test_build_complex_altparser_query (line 89) | def test_build_complex_altparser_query(self): method test_build_query_multiple_filter_types_with_datetimes (line 106) | def test_build_query_multiple_filter_types_with_datetimes(self): method test_build_query_in_filter_multiple_words (line 119) | def test_build_query_in_filter_multiple_words(self): method test_build_query_in_filter_datetime (line 127) | def test_build_query_in_filter_datetime(self): method test_build_query_in_with_set (line 134) | def test_build_query_in_with_set(self): method test_build_query_with_contains (line 150) | def test_build_query_with_contains(self): method test_build_query_with_endswith (line 155) | def test_build_query_with_endswith(self): method test_build_query_wildcard_filter_types (line 160) | def test_build_query_wildcard_filter_types(self): method test_build_query_fuzzy_filter_types (line 165) | def test_build_query_fuzzy_filter_types(self): method test_clean (line 170) | def test_clean(self): method test_build_query_with_models (line 184) | def test_build_query_with_models(self): method test_set_result_class (line 192) | def test_set_result_class(self): method test_in_filter_values_list (line 207) | def test_in_filter_values_list(self): method test_narrow_sq (line 212) | def test_narrow_sq(self): method test_query__in (line 218) | def test_query__in(self): method test_query__in_empty_list (line 222) | def test_query__in_empty_list(self): FILE: test_haystack/solr_tests/test_templatetags.py class MoreLikeThisTagTestCase (line 11) | class MoreLikeThisTagTestCase(TestCase): method render (line 14) | def render(self, template, context): method test_more_like_this_without_limit (line 20) | def test_more_like_this_without_limit(self, mock_sqs): method test_more_like_this_with_limit (line 32) | def test_more_like_this_with_limit(self, mock_sqs): method test_more_like_this_for_model (line 54) | def test_more_like_this_for_model(self, mock_sqs): FILE: test_haystack/spatial/__init__.py function setup (line 4) | def setup(): FILE: test_haystack/spatial/models.py class Checkin (line 6) | class Checkin(models.Model): class Meta (line 21) | class Meta: method get_location (line 25) | def get_location(self): FILE: test_haystack/spatial/search_indexes.py class CheckinSearchIndex (line 6) | class CheckinSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 15) | def get_model(self): method prepare_text (line 18) | def prepare_text(self, obj): FILE: test_haystack/spatial/test_spatial.py class SpatialUtilitiesTestCase (line 18) | class SpatialUtilitiesTestCase(TestCase): method test_ensure_geometry (line 19) | def test_ensure_geometry(self): method test_ensure_point (line 29) | def test_ensure_point(self): method test_ensure_wgs84 (line 42) | def test_ensure_wgs84(self): method test_ensure_distance (line 67) | def test_ensure_distance(self): method test_generate_bounding_box (line 73) | def test_generate_bounding_box(self): method test_generate_bounding_box_crossing_line_date (line 86) | def test_generate_bounding_box_crossing_line_date(self): class SpatialSolrTestCase (line 100) | class SpatialSolrTestCase(TestCase): method setUp (line 104) | def setUp(self): method tearDown (line 119) | def tearDown(self): method test_indexing (line 123) | def test_indexing(self): method test_within (line 143) | def test_within(self): method test_dwithin (line 156) | def test_dwithin(self): method test_distance_added (line 168) | def test_distance_added(self): method test_order_by_distance (line 191) | def test_order_by_distance(self): method test_complex (line 232) | def test_complex(self): FILE: test_haystack/test_altered_internal_names.py class MockModelSearchIndex (line 12) | class MockModelSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 17) | def get_model(self): class AlteredInternalNamesTestCase (line 21) | class AlteredInternalNamesTestCase(TestCase): method setUp (line 22) | def setUp(self): method tearDown (line 35) | def tearDown(self): method test_altered_names (line 42) | def test_altered_names(self): method test_solr_schema (line 52) | def test_solr_schema(self): FILE: test_haystack/test_app_loading.py class AppLoadingTests (line 9) | class AppLoadingTests(TestCase): method test_load_apps (line 10) | def test_load_apps(self): method test_get_app_modules (line 22) | def test_get_app_modules(self): method test_get_models_all (line 29) | def test_get_models_all(self): method test_get_models_specific (line 33) | def test_get_models_specific(self): method test_hierarchal_app_get_models (line 40) | def test_hierarchal_app_get_models(self): method test_hierarchal_app_specific_model (line 53) | def test_hierarchal_app_specific_model(self): class AppWithoutModelsTests (line 64) | class AppWithoutModelsTests(TestCase): method test_simple_view (line 67) | def test_simple_view(self): FILE: test_haystack/test_app_using_appconfig/apps.py class SimpleTestAppConfig (line 4) | class SimpleTestAppConfig(AppConfig): FILE: test_haystack/test_app_using_appconfig/migrations/0001_initial.py class Migration (line 4) | class Migration(migrations.Migration): FILE: test_haystack/test_app_using_appconfig/models.py class MicroBlogPost (line 4) | class MicroBlogPost(Model): FILE: test_haystack/test_app_using_appconfig/search_indexes.py class MicroBlogSearchIndex (line 6) | class MicroBlogSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 9) | def get_model(self): FILE: test_haystack/test_app_using_appconfig/tests.py class AppConfigTests (line 6) | class AppConfigTests(TestCase): method test_index_collection (line 7) | def test_index_collection(self): FILE: test_haystack/test_app_with_hierarchy/contrib/django/hierarchal_app_django/models.py class HierarchalAppModel (line 4) | class HierarchalAppModel(Model): class HierarchalAppSecondModel (line 8) | class HierarchalAppSecondModel(Model): FILE: test_haystack/test_app_without_models/views.py function simple_view (line 4) | def simple_view(request): FILE: test_haystack/test_backends.py class LoadBackendTestCase (line 9) | class LoadBackendTestCase(TestCase): method test_load_solr (line 10) | def test_load_solr(self): method test_load_whoosh (line 22) | def test_load_whoosh(self): method test_load_elasticsearch (line 34) | def test_load_elasticsearch(self): method test_load_simple (line 48) | def test_load_simple(self): method test_load_nonexistent (line 52) | def test_load_nonexistent(self): FILE: test_haystack/test_discovery.py class ManualDiscoveryTestCase (line 10) | class ManualDiscoveryTestCase(TestCase): method test_discovery (line 11) | def test_discovery(self): class AutomaticDiscoveryTestCase (line 29) | class AutomaticDiscoveryTestCase(TestCase): method test_discovery (line 30) | def test_discovery(self): FILE: test_haystack/test_fields.py class SearchFieldTestCase (line 19) | class SearchFieldTestCase(TestCase): method test_get_iterable_objects_with_none (line 20) | def test_get_iterable_objects_with_none(self): method test_get_iterable_objects_with_single_non_iterable_object (line 23) | def test_get_iterable_objects_with_single_non_iterable_object(self): method test_get_iterable_objects_with_list_stays_the_same (line 29) | def test_get_iterable_objects_with_list_stays_the_same(self): method test_get_iterable_objects_with_django_manytomany_rel (line 34) | def test_get_iterable_objects_with_django_manytomany_rel(self): method test_get_iterable_objects_with_django_onetomany_rel (line 46) | def test_get_iterable_objects_with_django_onetomany_rel(self): method test_resolve_attributes_lookup_with_field_that_points_to_none (line 56) | def test_resolve_attributes_lookup_with_field_that_points_to_none(self): method test_resolve_attributes_lookup_with_field_that_points_to_none_but_is_allowed_to_be_null (line 69) | def test_resolve_attributes_lookup_with_field_that_points_to_none_but_... method test_resolve_attributes_lookup_with_field_that_points_to_none_but_has_default (line 81) | def test_resolve_attributes_lookup_with_field_that_points_to_none_but_... method test_resolve_attributes_lookup_with_deep_relationship (line 94) | def test_resolve_attributes_lookup_with_deep_relationship(self): method test_resolve_attributes_lookup_with_deep_relationship_through_m2m (line 106) | def test_resolve_attributes_lookup_with_deep_relationship_through_m2m(... method test_prepare_with_null_django_onetomany_rel (line 133) | def test_prepare_with_null_django_onetomany_rel(self): class CharFieldTestCase (line 142) | class CharFieldTestCase(TestCase): method test_init (line 143) | def test_init(self): method test_prepare (line 149) | def test_prepare(self): class NgramFieldTestCase (line 209) | class NgramFieldTestCase(TestCase): method test_init (line 210) | def test_init(self): method test_prepare (line 218) | def test_prepare(self): class EdgeNgramFieldTestCase (line 268) | class EdgeNgramFieldTestCase(TestCase): method test_init (line 269) | def test_init(self): method test_prepare (line 277) | def test_prepare(self): class IntegerFieldTestCase (line 327) | class IntegerFieldTestCase(TestCase): method test_init (line 328) | def test_init(self): method test_prepare (line 334) | def test_prepare(self): class FloatFieldTestCase (line 363) | class FloatFieldTestCase(TestCase): method test_init (line 364) | def test_init(self): method test_prepare (line 370) | def test_prepare(self): class DecimalFieldTestCase (line 390) | class DecimalFieldTestCase(TestCase): method test_init (line 391) | def test_init(self): method test_prepare (line 397) | def test_prepare(self): class BooleanFieldTestCase (line 417) | class BooleanFieldTestCase(TestCase): method test_init (line 418) | def test_init(self): method test_prepare (line 424) | def test_prepare(self): class DateFieldTestCase (line 444) | class DateFieldTestCase(TestCase): method test_init (line 445) | def test_init(self): method test_convert (line 451) | def test_convert(self): method test_prepare (line 455) | def test_prepare(self): method test_prepare_from_string (line 468) | def test_prepare_from_string(self): class DateTimeFieldTestCase (line 476) | class DateTimeFieldTestCase(TestCase): method test_init (line 477) | def test_init(self): method test_convert (line 483) | def test_convert(self): method test_prepare (line 491) | def test_prepare(self): method test_prepare_from_string (line 506) | def test_prepare_from_string(self): class MultiValueFieldTestCase (line 516) | class MultiValueFieldTestCase(TestCase): method test_init (line 517) | def test_init(self): method test_prepare (line 525) | def test_prepare(self): method test_convert_with_single_string (line 544) | def test_convert_with_single_string(self): method test_convert_with_single_int (line 549) | def test_convert_with_single_int(self): method test_convert_with_list_of_strings (line 554) | def test_convert_with_list_of_strings(self): method test_convert_with_list_of_ints (line 561) | def test_convert_with_list_of_ints(self): class CharFieldWithTemplateTestCase (line 567) | class CharFieldWithTemplateTestCase(TestCase): method test_init (line 568) | def test_init(self): method test_prepare (line 586) | def test_prepare(self): class FacetFieldTestCase (line 620) | class FacetFieldTestCase(TestCase): method test_init (line 621) | def test_init(self): class FacetCharFieldTestCase (line 636) | class FacetCharFieldTestCase(TestCase): method test_init (line 637) | def test_init(self): method test_prepare (line 648) | def test_prepare(self): class FacetIntegerFieldTestCase (line 656) | class FacetIntegerFieldTestCase(TestCase): method test_init (line 657) | def test_init(self): method test_prepare (line 668) | def test_prepare(self): class FacetFloatFieldTestCase (line 677) | class FacetFloatFieldTestCase(TestCase): method test_init (line 678) | def test_init(self): method test_prepare (line 689) | def test_prepare(self): class FacetBooleanFieldTestCase (line 698) | class FacetBooleanFieldTestCase(TestCase): method test_init (line 699) | def test_init(self): method test_prepare (line 710) | def test_prepare(self): class FacetDateFieldTestCase (line 719) | class FacetDateFieldTestCase(TestCase): method test_init (line 720) | def test_init(self): method test_prepare (line 731) | def test_prepare(self): class FacetDateTimeFieldTestCase (line 740) | class FacetDateTimeFieldTestCase(TestCase): method test_init (line 741) | def test_init(self): method test_prepare (line 752) | def test_prepare(self): class FacetMultiValueFieldTestCase (line 763) | class FacetMultiValueFieldTestCase(TestCase): method test_init (line 764) | def test_init(self): method test_prepare (line 775) | def test_prepare(self): FILE: test_haystack/test_forms.py class SearchFormTestCase (line 14) | class SearchFormTestCase(TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 33) | def tearDown(self): method test_unbound (line 37) | def test_unbound(self): class ModelSearchFormTestCase (line 48) | class ModelSearchFormTestCase(TestCase): method setUp (line 49) | def setUp(self): method tearDown (line 66) | def tearDown(self): method test_models_regression_1 (line 70) | def test_models_regression_1(self): method test_model_choices (line 90) | def test_model_choices(self): method test_model_choices_unicode (line 97) | def test_model_choices_unicode(self): class FacetedSearchFormTestCase (line 107) | class FacetedSearchFormTestCase(TestCase): method setUp (line 108) | def setUp(self): method tearDown (line 125) | def tearDown(self): method test_init_with_selected_facets (line 129) | def test_init_with_selected_facets(self): method test_search (line 156) | def test_search(self): FILE: test_haystack/test_generic_views.py class GenericSearchViewsTestCase (line 8) | class GenericSearchViewsTestCase(TestCase): method setUp (line 11) | def setUp(self): method test_get_form_kwargs (line 16) | def test_get_form_kwargs(self): method test_search_view_response (line 27) | def test_search_view_response(self): method test_search_view_form_valid (line 38) | def test_search_view_form_valid(self): method test_search_view_form_invalid (line 50) | def test_search_view_form_invalid(self): method get_request (line 62) | def get_request(self, url, method="get", data=None, **kwargs): FILE: test_haystack/test_indexes.py class BadSearchIndex1 (line 21) | class BadSearchIndex1(indexes.SearchIndex, indexes.Indexable): method get_model (line 25) | def get_model(self): class BadSearchIndex2 (line 29) | class BadSearchIndex2(indexes.SearchIndex, indexes.Indexable): method get_model (line 35) | def get_model(self): class GoodMockSearchIndex (line 39) | class GoodMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 45) | def get_model(self): class AltGoodMockSearchIndex (line 50) | class AltGoodMockSearchIndex(GoodMockSearchIndex, indexes.Indexable): method get_model (line 53) | def get_model(self): class GoodCustomMockSearchIndex (line 57) | class GoodCustomMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method prepare (line 64) | def prepare(self, obj): method prepare_author (line 69) | def prepare_author(self, obj): method load_all_queryset (line 72) | def load_all_queryset(self): method get_model (line 75) | def get_model(self): method index_queryset (line 78) | def index_queryset(self, using=None): method read_queryset (line 81) | def read_queryset(self, using=None): method build_queryset (line 84) | def build_queryset(self, start_date=None, end_date=None): class GoodNullableMockSearchIndex (line 88) | class GoodNullableMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 92) | def get_model(self): class GoodOverriddenFieldNameMockSearchIndex (line 96) | class GoodOverriddenFieldNameMockSearchIndex(indexes.SearchIndex, indexe... method get_model (line 103) | def get_model(self): class GoodFacetedMockSearchIndex (line 107) | class GoodFacetedMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 114) | def get_model(self): method prepare_author (line 117) | def prepare_author(self, obj): method prepare_pub_date_exact (line 120) | def prepare_pub_date_exact(self, obj): class MROFieldsSearchIndexA (line 124) | class MROFieldsSearchIndexA(indexes.SearchIndex, indexes.Indexable): method get_model (line 127) | def get_model(self): class MROFieldsSearchIndexB (line 131) | class MROFieldsSearchIndexB(indexes.SearchIndex, indexes.Indexable): method get_model (line 134) | def get_model(self): class MROFieldsSearchChild (line 138) | class MROFieldsSearchChild(MROFieldsSearchIndexA, MROFieldsSearchIndexB): class ModelWithManyToManyFieldAndAttributeLookupSearchIndex (line 142) | class ModelWithManyToManyFieldAndAttributeLookupSearchIndex( method get_model (line 148) | def get_model(self): class SearchIndexTestCase (line 152) | class SearchIndexTestCase(TestCase): method setUp (line 155) | def setUp(self): method tearDown (line 199) | def tearDown(self): method test_no_contentfield_present (line 203) | def test_no_contentfield_present(self): method test_too_many_contentfields_present (line 206) | def test_too_many_contentfields_present(self): method test_contentfield_present (line 209) | def test_contentfield_present(self): method test_proper_fields (line 215) | def test_proper_fields(self): method test_index_queryset (line 246) | def test_index_queryset(self): method test_read_queryset (line 249) | def test_read_queryset(self): method test_build_queryset (line 252) | def test_build_queryset(self): method test_prepare (line 283) | def test_prepare(self): method test_custom_prepare (line 295) | def test_custom_prepare(self): method test_thread_safety (line 337) | def test_thread_safety(self): method test_custom_prepare_author (line 385) | def test_custom_prepare_author(self): method test_custom_model_attr (line 429) | def test_custom_model_attr(self): method test_custom_index_fieldname (line 472) | def test_custom_index_fieldname(self): method test_get_content_field (line 487) | def test_get_content_field(self): method test_update (line 490) | def test_update(self): method test_update_object (line 497) | def test_update_object(self): method test_remove_object (line 513) | def test_remove_object(self): method test_clear (line 553) | def test_clear(self): method test_reindex (line 560) | def test_reindex(self): method test_inheritance (line 568) | def test_inheritance(self): method test_proper_field_resolution (line 586) | def test_proper_field_resolution(self): method test_load_all_queryset (line 600) | def test_load_all_queryset(self): method test_nullable (line 603) | def test_nullable(self): method test_custom_facet_fields (line 622) | def test_custom_facet_fields(self): class BasicModelSearchIndex (line 663) | class BasicModelSearchIndex(indexes.ModelSearchIndex, indexes.Indexable): class Meta (line 664) | class Meta: class FieldsModelSearchIndex (line 668) | class FieldsModelSearchIndex(indexes.ModelSearchIndex, indexes.Indexable): class Meta (line 669) | class Meta: class ExcludesModelSearchIndex (line 674) | class ExcludesModelSearchIndex(indexes.ModelSearchIndex, indexes.Indexab... class Meta (line 675) | class Meta: class FieldsWithOverrideModelSearchIndex (line 680) | class FieldsWithOverrideModelSearchIndex(indexes.ModelSearchIndex, index... class Meta (line 683) | class Meta: method get_index_fieldname (line 687) | def get_index_fieldname(self, f): class YetAnotherBasicModelSearchIndex (line 694) | class YetAnotherBasicModelSearchIndex(indexes.ModelSearchIndex, indexes.... class Meta (line 697) | class Meta: class PolymorphicModelSearchIndex (line 701) | class PolymorphicModelSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 708) | def get_model(self): method prepare (line 711) | def prepare(self, obj): method index_queryset (line 717) | def index_queryset(self, using=None): class GhettoAFifthMockModelSearchIndex (line 721) | class GhettoAFifthMockModelSearchIndex(indexes.SearchIndex, indexes.Inde... method get_model (line 724) | def get_model(self): method index_queryset (line 727) | def index_queryset(self, using=None): method read_queryset (line 731) | def read_queryset(self, using=None): class ReadQuerySetTestSearchIndex (line 735) | class ReadQuerySetTestSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 738) | def get_model(self): method read_queryset (line 741) | def read_queryset(self, using=None): class TextReadQuerySetTestSearchIndex (line 745) | class TextReadQuerySetTestSearchIndex(indexes.SearchIndex, indexes.Index... method get_model (line 748) | def get_model(self): method read_queryset (line 751) | def read_queryset(self, using=None): class ModelWithManyToManyFieldModelSearchIndex (line 755) | class ModelWithManyToManyFieldModelSearchIndex(indexes.ModelSearchIndex): method get_model (line 756) | def get_model(self): class ModelSearchIndexTestCase (line 760) | class ModelSearchIndexTestCase(TestCase): method setUp (line 761) | def setUp(self): method test_basic (line 771) | def test_basic(self): method test_fields (line 790) | def test_fields(self): method test_excludes (line 799) | def test_excludes(self): method test_fields_with_override (line 807) | def test_fields_with_override(self): method test_overriding_field_name_with_get_index_fieldname (line 816) | def test_overriding_field_name_with_get_index_fieldname(self): method test_float_integer_fields (line 820) | def test_float_integer_fields(self): class ModelWithManyToManyFieldAndAttributeLookupSearchIndexTestCase (line 856) | class ModelWithManyToManyFieldAndAttributeLookupSearchIndexTestCase(Test... method test_full_prepare (line 857) | def test_full_prepare(self): class PolymorphicModelTestCase (line 880) | class PolymorphicModelTestCase(TestCase): method test_prepare_with_polymorphic (line 881) | def test_prepare_with_polymorphic(self): FILE: test_haystack/test_inputs.py class InputTestCase (line 6) | class InputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 48) | def test_not_init(self): method test_not_prepare (line 53) | def test_not_prepare(self): method test_autoquery_init (line 57) | def test_autoquery_init(self): method test_autoquery_prepare (line 62) | def test_autoquery_prepare(self): method test_altparser_init (line 68) | def test_altparser_init(self): method test_altparser_prepare (line 81) | def test_altparser_prepare(self): FILE: test_haystack/test_loading.py class ConnectionHandlerTestCase (line 18) | class ConnectionHandlerTestCase(TestCase): method test_init (line 19) | def test_init(self): method test_get_item (line 42) | def test_get_item(self): method test_get_unified_index (line 79) | def test_get_unified_index(self): class ConnectionRouterTestCase (line 93) | class ConnectionRouterTestCase(TestCase): method test_init (line 95) | def test_init(self): method test_router_override1 (line 104) | def test_router_override1(self): method test_router_override2 (line 112) | def test_router_override2(self): method test_router_override3 (line 125) | def test_router_override3(self): method test_actions1 (line 136) | def test_actions1(self): method test_actions2 (line 148) | def test_actions2(self): method test_actions3 (line 160) | def test_actions3(self): method test_actions4 (line 177) | def test_actions4(self): class MockNotAModel (line 184) | class MockNotAModel(object): class FakeSearchIndex (line 188) | class FakeSearchIndex(indexes.BasicSearchIndex, indexes.Indexable): method update_object (line 189) | def update_object(self, instance, **kwargs): method remove_object (line 195) | def remove_object(self, instance, **kwargs): method get_model (line 201) | def get_model(self): class InvalidSearchIndex (line 205) | class InvalidSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 208) | def get_model(self): class BasicMockModelSearchIndex (line 212) | class BasicMockModelSearchIndex(indexes.BasicSearchIndex, indexes.Indexa... method get_model (line 213) | def get_model(self): class BasicAnotherMockModelSearchIndex (line 217) | class BasicAnotherMockModelSearchIndex(indexes.BasicSearchIndex, indexes... method get_model (line 218) | def get_model(self): class ValidSearchIndex (line 222) | class ValidSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 227) | def get_model(self): class AlternateValidSearchIndex (line 231) | class AlternateValidSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 236) | def get_model(self): class ExplicitFacetSearchIndex (line 240) | class ExplicitFacetSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 247) | def get_model(self): class MultiValueValidSearchIndex (line 251) | class MultiValueValidSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 256) | def get_model(self): class UnifiedIndexTestCase (line 260) | class UnifiedIndexTestCase(TestCase): method setUp (line 261) | def setUp(self): method test_get_index (line 266) | def test_get_index(self): method test_get_indexed_models (line 278) | def test_get_indexed_models(self): method test_get_indexes (line 286) | def test_get_indexes(self): method test_all_searchfields (line 297) | def test_all_searchfields(self): method test_get_index_fieldname (line 366) | def test_get_index_fieldname(self): method test_basic_get_facet_field_name (line 388) | def test_basic_get_facet_field_name(self): method test_more_advanced_get_facet_field_name (line 407) | def test_more_advanced_get_facet_field_name(self): FILE: test_haystack/test_management_commands.py class CoreManagementCommandsTestCase (line 10) | class CoreManagementCommandsTestCase(TestCase): method test_update_index_default_using (line 12) | def test_update_index_default_using(self, m): method test_update_index_using (line 19) | def test_update_index_using(self, m): method test_clear_index_default_using (line 30) | def test_clear_index_default_using(self, m): method test_clear_index_using (line 38) | def test_clear_index_using(self, m): method test_rebuild_index_default_using (line 53) | def test_rebuild_index_default_using(self, m1, m2): method test_rebuild_index_using (line 65) | def test_rebuild_index_using(self, m1, m2): method test_rebuild_index (line 74) | def test_rebuild_index(self, mock_handle_clear, mock_handle_update): method test_rebuild_index_nocommit (line 82) | def test_rebuild_index_nocommit(self, *mocks): method test_rebuild_index_nocommit (line 95) | def test_rebuild_index_nocommit(self, update_mock, clear_mock): FILE: test_haystack/test_managers.py class CustomManager (line 21) | class CustomManager(SearchIndexManager): method filter (line 22) | def filter(self, *args, **kwargs): class CustomMockModelIndexWithObjectsManager (line 26) | class CustomMockModelIndexWithObjectsManager(BasicMockModelSearchIndex): class CustomMockModelIndexWithAnotherManager (line 30) | class CustomMockModelIndexWithAnotherManager(BasicMockModelSearchIndex): class ManagerTestCase (line 34) | class ManagerTestCase(TestCase): method setUp (line 37) | def setUp(self): method test_queryset (line 50) | def test_queryset(self): method test_none (line 53) | def test_none(self): method test_filter (line 58) | def test_filter(self): method test_exclude (line 63) | def test_exclude(self): method test_filter_and (line 68) | def test_filter_and(self): method test_filter_or (line 73) | def test_filter_or(self): method test_order_by (line 78) | def test_order_by(self): method test_order_by_distance (line 83) | def test_order_by_distance(self): method test_highlight (line 100) | def test_highlight(self): method test_boost (line 104) | def test_boost(self): method test_facets (line 109) | def test_facets(self): method test_within (line 114) | def test_within(self): method test_dwithin (line 130) | def test_dwithin(self): method test_distance (line 145) | def test_distance(self): method test_date_facets (line 158) | def test_date_facets(self): method test_query_facets (line 168) | def test_query_facets(self): method test_narrow (line 173) | def test_narrow(self): method test_raw_search (line 178) | def test_raw_search(self): method test_load_all (line 181) | def test_load_all(self): method test_auto_query (line 188) | def test_auto_query(self): method test_autocomplete (line 205) | def test_autocomplete(self): method test_count (line 209) | def test_count(self): method test_best_match (line 213) | def test_best_match(self): method test_latest (line 218) | def test_latest(self): method test_more_like_this (line 223) | def test_more_like_this(self): method test_facet_counts (line 229) | def test_facet_counts(self): method spelling_suggestion (line 232) | def spelling_suggestion(self): method test_values (line 238) | def test_values(self): method test_valueslist (line 242) | def test_valueslist(self): class CustomManagerTestCase (line 247) | class CustomManagerTestCase(TestCase): method setUp (line 250) | def setUp(self): method test_filter_object_manager (line 256) | def test_filter_object_manager(self): method test_filter_another_manager (line 261) | def test_filter_another_manager(self): FILE: test_haystack/test_models.py class CaptureHandler (line 16) | class CaptureHandler(std_logging.Handler): method emit (line 19) | def emit(self, record): class SearchResultTestCase (line 23) | class SearchResultTestCase(TestCase): method setUp (line 26) | def setUp(self): method test_init (line 49) | def test_init(self): method test_get_additional_fields (line 77) | def test_get_additional_fields(self): method test_unicode (line 92) | def test_unicode(self): method test_content_type (line 105) | def test_content_type(self): method test_stored_fields (line 110) | def test_stored_fields(self): method test_missing_object (line 147) | def test_missing_object(self): method test_read_queryset (line 177) | def test_read_queryset(self): method test_pickling (line 197) | def test_pickling(self): FILE: test_haystack/test_query.py class SQTestCase (line 40) | class SQTestCase(TestCase): method test_split_expression (line 41) | def test_split_expression(self): method test_repr (line 61) | def test_repr(self): method test_simple_nesting (line 69) | def test_simple_nesting(self): class BaseSearchQueryTestCase (line 95) | class BaseSearchQueryTestCase(TestCase): method setUp (line 98) | def setUp(self): method test_get_count (line 102) | def test_get_count(self): method test_build_query (line 106) | def test_build_query(self): method test_add_filter (line 110) | def test_add_filter(self): method test_add_order_by (line 141) | def test_add_order_by(self): method test_clear_order_by (line 147) | def test_clear_order_by(self): method test_add_model (line 154) | def test_add_model(self): method test_set_limits (line 165) | def test_set_limits(self): method test_clear_limits (line 173) | def test_clear_limits(self): method test_add_boost (line 182) | def test_add_boost(self): method test_add_highlight (line 188) | def test_add_highlight(self): method test_more_like_this (line 194) | def test_more_like_this(self): method test_add_field_facet (line 208) | def test_add_field_facet(self): method test_add_date_facet (line 215) | def test_add_date_facet(self): method test_add_query_facet (line 258) | def test_add_query_facet(self): method test_add_stats (line 270) | def test_add_stats(self): method test_add_narrow_query (line 277) | def test_add_narrow_query(self): method test_set_result_class (line 284) | def test_set_result_class(self): method test_run (line 299) | def test_run(self): method test_clone (line 320) | def test_clone(self): method test_log_query (line 355) | def test_log_query(self): class CharPKMockModelSearchIndex (line 394) | class CharPKMockModelSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 397) | def get_model(self): class SimpleMockUUIDModelIndex (line 401) | class SimpleMockUUIDModelIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 404) | def get_model(self): class SearchQuerySetTestCase (line 409) | class SearchQuerySetTestCase(TestCase): method setUp (line 412) | def setUp(self): method tearDown (line 434) | def tearDown(self): method test_len (line 439) | def test_len(self): method test_repr (line 442) | def test_repr(self): method test_iter (line 451) | def test_iter(self): method test_slice (line 459) | def test_slice(self): method test_manual_iter (line 475) | def test_manual_iter(self): method test_cache_is_full (line 548) | def test_cache_is_full(self): method test_all (line 558) | def test_all(self): method test_filter (line 562) | def test_filter(self): method test_exclude (line 567) | def test_exclude(self): method test_order_by (line 572) | def test_order_by(self): method test_models (line 577) | def test_models(self): method test_result_class (line 606) | def test_result_class(self): method test_boost (line 621) | def test_boost(self): method test_highlight (line 626) | def test_highlight(self): method test_spelling_override (line 631) | def test_spelling_override(self): method test_spelling_suggestions (line 638) | def test_spelling_suggestions(self): method test_raw_search (line 645) | def test_raw_search(self): method test_load_all (line 654) | def test_load_all(self): method test_load_all_read_queryset (line 689) | def test_load_all_read_queryset(self): method test_auto_query (line 726) | def test_auto_query(self): method test_count (line 782) | def test_count(self): method test_facet_counts (line 785) | def test_facet_counts(self): method test_best_match (line 788) | def test_best_match(self): method test_latest (line 791) | def test_latest(self): method test_more_like_this (line 794) | def test_more_like_this(self): method test_facets (line 800) | def test_facets(self): method test_date_facets (line 809) | def test_date_facets(self): method test_query_facets (line 847) | def test_query_facets(self): method test_stats (line 867) | def test_stats(self): method test_narrow (line 880) | def test_narrow(self): method test_clone (line 885) | def test_clone(self): method test_using (line 896) | def test_using(self): method test_chaining (line 901) | def test_chaining(self): method test_none (line 911) | def test_none(self): method test___and__ (line 916) | def test___and__(self): method test___or__ (line 924) | def test___or__(self): method test_and_or (line 932) | def test_and_or(self): method test_or_and (line 949) | def test_or_and(self): class ValuesQuerySetTestCase (line 967) | class ValuesQuerySetTestCase(SearchQuerySetTestCase): method test_values_sqs (line 968) | def test_values_sqs(self): method test_valueslist_sqs (line 976) | def test_valueslist_sqs(self): class EmptySearchQuerySetTestCase (line 1000) | class EmptySearchQuerySetTestCase(TestCase): method setUp (line 1001) | def setUp(self): method test_get_count (line 1005) | def test_get_count(self): method test_filter (line 1009) | def test_filter(self): method test_exclude (line 1014) | def test_exclude(self): method test_slice (line 1019) | def test_slice(self): method test_dictionary_lookup (line 1031) | def test_dictionary_lookup(self): class PickleSearchQuerySetTestCase (line 1040) | class PickleSearchQuerySetTestCase(TestCase): method setUp (line 1043) | def setUp(self): method tearDown (line 1063) | def tearDown(self): method test_pickling (line 1068) | def test_pickling(self): FILE: test_haystack/test_templatetags.py class BorkHighlighter (line 9) | class BorkHighlighter(Highlighter): method render_html (line 10) | def render_html(self, highlight_locations=None, start_offset=None, end... class TemplateTagTestCase (line 19) | class TemplateTagTestCase(TestCase): method render (line 20) | def render(self, template, context): class HighlightTestCase (line 27) | class HighlightTestCase(TemplateTagTestCase): method setUp (line 28) | def setUp(self): method test_simple (line 52) | def test_simple(self): method test_custom (line 81) | def test_custom(self): FILE: test_haystack/test_utils.py class GetIdentifierTestCase (line 14) | class GetIdentifierTestCase(TestCase): method test_get_facet_field_name (line 15) | def test_get_facet_field_name(self): class GetFacetFieldNameTestCase (line 23) | class GetFacetFieldNameTestCase(TestCase): method test_get_identifier (line 26) | def test_get_identifier(self): method test_haystack_identifier_method (line 36) | def test_haystack_identifier_method(self): method test_haystack_identifier_method_bad_path (line 53) | def test_haystack_identifier_method_bad_path(self): method test_haystack_identifier_method_bad_module (line 57) | def test_haystack_identifier_method_bad_module(self): class HighlighterTestCase (line 61) | class HighlighterTestCase(TestCase): method setUp (line 62) | def setUp(self): method test_find_highlightable_words (line 70) | def test_find_highlightable_words(self): method test_find_window (line 90) | def test_find_window(self): method test_render_html (line 171) | def test_render_html(self): method test_highlight (line 254) | def test_highlight(self): class LoggingFacadeTestCase (line 312) | class LoggingFacadeTestCase(TestCase): method test_everything_noops_if_settings_are_off (line 313) | def test_everything_noops_if_settings_are_off(self): method test_uses_provided_logger_if_logging_is_on (line 318) | def test_uses_provided_logger_if_logging_is_on(self): method test_uses_provided_logger_by_default (line 326) | def test_uses_provided_logger_by_default(self): FILE: test_haystack/test_views.py class InitialedSearchForm (line 18) | class InitialedSearchForm(SearchForm): class BasicMockModelSearchIndex (line 22) | class BasicMockModelSearchIndex(indexes.BasicSearchIndex, indexes.Indexa... method get_model (line 23) | def get_model(self): class BasicAnotherMockModelSearchIndex (line 27) | class BasicAnotherMockModelSearchIndex(indexes.BasicSearchIndex, indexes... method get_model (line 28) | def get_model(self): class SearchViewTestCase (line 32) | class SearchViewTestCase(TestCase): method setUp (line 35) | def setUp(self): method tearDown (line 51) | def tearDown(self): method test_search_no_query (line 55) | def test_search_no_query(self): method test_search_query (line 59) | def test_search_query(self): method test_invalid_page (line 70) | def test_invalid_page(self): method test_empty_results (line 76) | def test_empty_results(self): method test_initial_data (line 82) | def test_initial_data(self): method test_pagination (line 92) | def test_pagination(self): method test_thread_safety (line 107) | def test_thread_safety(self): method test_spelling (line 144) | def test_spelling(self): class ResultsPerPageTestCase (line 175) | class ResultsPerPageTestCase(TestCase): method setUp (line 178) | def setUp(self): method tearDown (line 194) | def tearDown(self): method test_custom_results_per_page (line 198) | def test_custom_results_per_page(self): class FacetedSearchViewTestCase (line 210) | class FacetedSearchViewTestCase(TestCase): method setUp (line 211) | def setUp(self): method tearDown (line 227) | def tearDown(self): method test_search_no_query (line 231) | def test_search_no_query(self): method test_empty_results (line 236) | def test_empty_results(self): method test_default_form (line 243) | def test_default_form(self): method test_list_selected_facets (line 250) | def test_list_selected_facets(self): class BasicSearchViewTestCase (line 266) | class BasicSearchViewTestCase(TestCase): method setUp (line 269) | def setUp(self): method tearDown (line 285) | def tearDown(self): method test_search_no_query (line 289) | def test_search_no_query(self): method test_search_query (line 293) | def test_search_query(self): method test_invalid_page (line 304) | def test_invalid_page(self): FILE: test_haystack/utils.py function check_solr (line 6) | def check_solr(using="solr"): FILE: test_haystack/whoosh_tests/test_forms.py class SpellingSuggestionTestCase (line 12) | class SpellingSuggestionTestCase(LiveWhooshRoundTripTestCase): method setUp (line 15) | def setUp(self): method tearDown (line 23) | def tearDown(self): method test_form_suggestion (line 29) | def test_form_suggestion(self): method test_view_suggestion (line 33) | def test_view_suggestion(self): FILE: test_haystack/whoosh_tests/test_inputs.py class WhooshInputTestCase (line 6) | class WhooshInputTestCase(TestCase): method setUp (line 7) | def setUp(self): method test_raw_init (line 11) | def test_raw_init(self): method test_raw_prepare (line 22) | def test_raw_prepare(self): method test_clean_init (line 26) | def test_clean_init(self): method test_clean_prepare (line 31) | def test_clean_prepare(self): method test_exact_init (line 35) | def test_exact_init(self): method test_exact_prepare (line 40) | def test_exact_prepare(self): method test_not_init (line 44) | def test_not_init(self): method test_not_prepare (line 49) | def test_not_prepare(self): method test_autoquery_init (line 53) | def test_autoquery_init(self): method test_autoquery_prepare (line 58) | def test_autoquery_prepare(self): method test_altparser_init (line 64) | def test_altparser_init(self): method test_altparser_prepare (line 77) | def test_altparser_prepare(self): FILE: test_haystack/whoosh_tests/test_whoosh_backend.py class WhooshMockSearchIndex (line 26) | class WhooshMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 35) | def get_model(self): class WhooshMockSearchIndexWithSkipDocument (line 39) | class WhooshMockSearchIndexWithSkipDocument(WhooshMockSearchIndex): method prepare_text (line 40) | def prepare_text(self, obj): class WhooshAnotherMockSearchIndex (line 46) | class WhooshAnotherMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 51) | def get_model(self): method prepare_text (line 54) | def prepare_text(self, obj): class AllTypesWhooshMockSearchIndex (line 58) | class AllTypesWhooshMockSearchIndex(indexes.SearchIndex, indexes.Indexab... method get_model (line 66) | def get_model(self): class WhooshMaintainTypeMockSearchIndex (line 70) | class WhooshMaintainTypeMockSearchIndex(indexes.SearchIndex, indexes.Ind... method get_model (line 75) | def get_model(self): method prepare_text (line 78) | def prepare_text(self, obj): method prepare_month (line 81) | def prepare_month(self, obj): class WhooshBoostMockSearchIndex (line 85) | class WhooshBoostMockSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 95) | def get_model(self): method prepare (line 98) | def prepare(self, obj): class WhooshAutocompleteMockModelSearchIndex (line 107) | class WhooshAutocompleteMockModelSearchIndex(indexes.SearchIndex, indexe... method get_model (line 114) | def get_model(self): class WhooshSearchBackendTestCase (line 118) | class WhooshSearchBackendTestCase(WhooshTestCase): method setUp (line 121) | def setUp(self): method tearDown (line 140) | def tearDown(self): method whoosh_search (line 144) | def whoosh_search(self, query): method test_non_silent (line 149) | def test_non_silent(self): method test_update (line 180) | def test_update(self): method test_update_with_SkipDocument_raised (line 190) | def test_update_with_SkipDocument_raised(self): method test_remove (line 201) | def test_remove(self): method test_clear (line 208) | def test_clear(self): method test_search (line 231) | def test_search(self): method test_highlight (line 353) | def test_highlight(self): method test_search_all_models (line 365) | def test_search_all_models(self): method test_more_like_this (line 376) | def test_more_like_this(self): method test_delete_index (line 389) | def test_delete_index(self): method test_order_by (line 396) | def test_order_by(self): method test__from_python (line 553) | def test__from_python(self): method test__to_python (line 576) | def test__to_python(self): method test_range_queries (line 593) | def test_range_queries(self): method test_date_queries (line 601) | def test_date_queries(self): method test_escaped_characters_queries (line 610) | def test_escaped_characters_queries(self): method test_build_schema (line 616) | def test_build_schema(self): method test_verify_type (line 643) | def test_verify_type(self): method test_writable (line 688) | def test_writable(self): method test_slicing (line 703) | def test_slicing(self): method test_scoring (line 723) | def test_scoring(self): method test_analyzed_fields (line 760) | def test_analyzed_fields(self): class WhooshBoostBackendTestCase (line 766) | class WhooshBoostBackendTestCase(WhooshTestCase): method setUp (line 767) | def setUp(self): method tearDown (line 797) | def tearDown(self): method test_boost (line 802) | def test_boost(self): class LiveWhooshSearchQueryTestCase (line 819) | class LiveWhooshSearchQueryTestCase(WhooshTestCase): method setUp (line 820) | def setUp(self): method tearDown (line 848) | def tearDown(self): method test_get_spelling (line 852) | def test_get_spelling(self): method test_log_query (line 858) | def test_log_query(self): class LiveWhooshSearchQuerySetTestCase (line 896) | class LiveWhooshSearchQuerySetTestCase(WhooshTestCase): method setUp (line 897) | def setUp(self): method tearDown (line 925) | def tearDown(self): method test_various_searchquerysets (line 929) | def test_various_searchquerysets(self): method test_all_regression (line 982) | def test_all_regression(self): method test_regression_space_query (line 998) | def test_regression_space_query(self): method test_iter (line 1007) | def test_iter(self): method test_slice (line 1017) | def test_slice(self): method test_values_slicing (line 1032) | def test_values_slicing(self): method test_manual_iter (line 1055) | def test_manual_iter(self): method test_fill_cache (line 1065) | def test_fill_cache(self): method test_cache_is_full (line 1084) | def test_cache_is_full(self): method test_count (line 1095) | def test_count(self): method test_query_generation (line 1114) | def test_query_generation(self): method test_result_class (line 1122) | def test_result_class(self): class LiveWhooshMultiSearchQuerySetTestCase (line 1138) | class LiveWhooshMultiSearchQuerySetTestCase(WhooshTestCase): method setUp (line 1141) | def setUp(self): method tearDown (line 1163) | def tearDown(self): method test_searchquerysets_with_models (line 1167) | def test_searchquerysets_with_models(self): class LiveWhooshMoreLikeThisTestCase (line 1181) | class LiveWhooshMoreLikeThisTestCase(WhooshTestCase): method setUp (line 1184) | def setUp(self): method tearDown (line 1206) | def tearDown(self): method test_more_like_this (line 1213) | def test_more_like_this(self): class LiveWhooshAutocompleteTestCase (line 1340) | class LiveWhooshAutocompleteTestCase(WhooshTestCase): method setUp (line 1343) | def setUp(self): method tearDown (line 1365) | def tearDown(self): method test_autocomplete (line 1369) | def test_autocomplete(self): method test_edgengram_regression (line 1382) | def test_edgengram_regression(self): method test_extra_whitespace (line 1386) | def test_extra_whitespace(self): class WhooshRoundTripSearchIndex (line 1391) | class WhooshRoundTripSearchIndex(indexes.SearchIndex, indexes.Indexable): method get_model (line 1405) | def get_model(self): method prepare (line 1408) | def prepare(self, obj): class LiveWhooshRoundTripTestCase (line 1429) | class LiveWhooshRoundTripTestCase(WhooshTestCase): method setUp (line 1430) | def setUp(self): method tearDown (line 1456) | def tearDown(self): method test_round_trip (line 1459) | def test_round_trip(self): class LiveWhooshRamStorageTestCase (line 1486) | class LiveWhooshRamStorageTestCase(TestCase): method setUp (line 1487) | def setUp(self): method tearDown (line 1520) | def tearDown(self): method test_ram_storage (line 1527) | def test_ram_storage(self): FILE: test_haystack/whoosh_tests/test_whoosh_query.py class WhooshSearchQueryTestCase (line 12) | class WhooshSearchQueryTestCase(WhooshTestCase): method setUp (line 13) | def setUp(self): method test_build_query_all (line 18) | def test_build_query_all(self): method test_build_query_single_word (line 21) | def test_build_query_single_word(self): method test_build_query_multiple_words_and (line 25) | def test_build_query_multiple_words_and(self): method test_build_query_multiple_words_not (line 30) | def test_build_query_multiple_words_not(self): method test_build_query_multiple_words_or (line 35) | def test_build_query_multiple_words_or(self): method test_build_query_multiple_words_mixed (line 39) | def test_build_query_multiple_words_mixed(self): method test_build_query_phrase (line 46) | def test_build_query_phrase(self): method test_build_query_boost (line 55) | def test_build_query_boost(self): method test_correct_exact (line 60) | def test_correct_exact(self): method test_build_query_multiple_filter_types (line 64) | def test_build_query_multiple_filter_types(self): method test_build_query_in_filter_multiple_words (line 77) | def test_build_query_in_filter_multiple_words(self): method test_build_query_in_filter_datetime (line 85) | def test_build_query_in_filter_datetime(self): method test_build_query_in_with_set (line 90) | def test_build_query_in_with_set(self): method test_build_query_wildcard_filter_types (line 106) | def test_build_query_wildcard_filter_types(self): method test_build_query_fuzzy_filter_types (line 111) | def test_build_query_fuzzy_filter_types(self): method test_build_query_with_contains (line 116) | def test_build_query_with_contains(self): method test_build_query_with_endswith (line 121) | def test_build_query_with_endswith(self): method test_clean (line 126) | def test_clean(self): method test_build_query_with_models (line 140) | def test_build_query_with_models(self): method test_build_query_with_datetime (line 148) | def test_build_query_with_datetime(self): method test_build_query_with_sequence_and_filter_not_in (line 152) | def test_build_query_with_sequence_and_filter_not_in(self): method test_set_result_class (line 156) | def test_set_result_class(self): method test_in_filter_values_list (line 171) | def test_in_filter_values_list(self): method test_narrow_sq (line 176) | def test_narrow_sq(self): FILE: test_haystack/whoosh_tests/testcases.py class WhooshTestCase (line 8) | class WhooshTestCase(TestCase): method setUpClass (line 12) | def setUpClass(cls): method tearDownClass (line 34) | def tearDownClass(cls):