diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-08-01 10:59:00 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-08-01 10:59:00 +0300 |
commit | c14c00397e05946476b280d9914c2bef5af90f8d (patch) | |
tree | c140fdf7b963e845cc8a968614a9f197d6d719eb /sphinx/search | |
parent | 9a2f2e15a6c2149a84d91f34f18695086dc47f90 (diff) | |
parent | 2644199e7eb2f9feaa54f4a47fad506b5259e11c (diff) |
Merge branch '3.x'
Diffstat (limited to 'sphinx/search')
-rw-r--r-- | sphinx/search/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/search/__init__.py b/sphinx/search/__init__.py index a268266b5..5413957a0 100644 --- a/sphinx/search/__init__.py +++ b/sphinx/search/__init__.py @@ -112,7 +112,7 @@ var Stemmer = function() { len(word) == 0 or not ( ((len(word) < 3) and (12353 < ord(word[0]) < 12436)) or (ord(word[0]) < 256 and ( - len(word) < 3 or word in self.stopwords or word.isdigit() + len(word) < 3 or word in self.stopwords )))) |