mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1072: In the JS search, fix issues searching for upper-cased words by lowercasing words before stemming.
This commit is contained in:
parent
637e26ad0a
commit
b1936aa1f3
3
CHANGES
3
CHANGES
@ -82,6 +82,9 @@ Bugs fixed
|
||||
* #1345: Fix two bugs with :confval:`nitpick_ignore`; now you don't have to
|
||||
remove the store environment for changes to have effect.
|
||||
|
||||
* #1072: In the JS search, fix issues searching for upper-cased words by
|
||||
lowercasing words before stemming.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
|
@ -156,7 +156,7 @@ var Search = {
|
||||
continue;
|
||||
}
|
||||
// stem the word
|
||||
var word = stemmer.stemWord(tmp[i]).toLowerCase();
|
||||
var word = stemmer.stemWord(tmp[i].toLowerCase());
|
||||
var toAppend;
|
||||
// select the correct list
|
||||
if (word[0] == '-') {
|
||||
|
Loading…
Reference in New Issue
Block a user