Skip to content

Commit 08dd947

Browse files
authored
Merge pull request django-haystack#1739 from vladlytvynenko/patch-1
Fixed incorrect example of SearchQuerySet in multiple_index.rst
2 parents eee0db1 + 90da846 commit 08dd947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/multiple_index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Most search engines require you to set the language at the index level. For
204204
example, a multi-lingual site using Solr can use `multiple cores <http://wiki.apache.org/solr/CoreAdmin>`_ and corresponding Haystack
205205
backends using the language name. Under this scenario, queries are simple::
206206

207-
sqs = SearchQuerySet.using(lang).auto_query(…)
207+
sqs = SearchQuerySet().using(lang).auto_query(…)
208208

209209
During index updates, the Index's ``index_queryset`` method will need to filter
210210
the items to avoid sending the wrong content to the search engine::

0 commit comments

Comments
 (0)