mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
sphinx/search/__init__.py: make stopwords array sorted
This commit is contained in:
parent
6f9e541ab5
commit
eabcf7883e
@ -283,5 +283,5 @@ class IndexBuilder(object):
|
||||
def context_for_searchtool(self):
|
||||
return dict(
|
||||
search_language_stemming_code = self.lang.js_stemmer_code,
|
||||
search_language_stop_words = jsdump.dumps(self.lang.stopwords),
|
||||
search_language_stop_words = jsdump.dumps(sorted(self.lang.stopwords)),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user