diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-03-27 19:47:11 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-03-27 19:47:11 +0900 |
| commit | 2db180da70cfd59ae53afab99d1eb7868fb7d206 (patch) | |
| tree | 4792f14a6e05cd42a1750988949db6cbef17bdbe /sphinx/themes/basic | |
| parent | a457819971f9b32fd57726b1e75f4caa6eaf17ab (diff) | |
| parent | f559389d14d32b1cc70792a5bbbbdfb963e0ce6a (diff) | |
| download | sphinx-git-2db180da70cfd59ae53afab99d1eb7868fb7d206.tar.gz | |
Merge branch '4.x'
Diffstat (limited to 'sphinx/themes/basic')
| -rw-r--r-- | sphinx/themes/basic/static/searchtools.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sphinx/themes/basic/static/searchtools.js b/sphinx/themes/basic/static/searchtools.js index 50473461d..148cd4ee7 100644 --- a/sphinx/themes/basic/static/searchtools.js +++ b/sphinx/themes/basic/static/searchtools.js @@ -256,10 +256,6 @@ const Search = { // stem the word let word = stemmer.stemWord(queryTermLower); - // prevent stemmer from cutting word smaller than two chars - if (word.length < 3 && queryTerm.length >= 3) { - word = queryTerm; - } // select the correct list if (word[0] === "-") excludedTerms.add(word.substr(1)); else { |
