summaryrefslogtreecommitdiffstats
path: root/sphinx/search/es.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/search/es.py')
-rw-r--r--sphinx/search/es.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/search/es.py b/sphinx/search/es.py
index c5d9a5c..247095b 100644
--- a/sphinx/search/es.py
+++ b/sphinx/search/es.py
@@ -9,7 +9,7 @@ import snowballstemmer
from sphinx.search import SearchLanguage, parse_stop_word
spanish_stopwords = parse_stop_word('''
-|source: http://snowball.tartarus.org/algorithms/spanish/stop.txt
+|source: https://snowball.tartarus.org/algorithms/spanish/stop.txt
de | from, of
la | the, her
que | who, that
@@ -356,7 +356,7 @@ class SearchSpanish(SearchLanguage):
js_stemmer_rawcode = 'spanish-stemmer.js'
stopwords = spanish_stopwords
- def init(self, options: dict) -> None:
+ def init(self, options: dict[str, str]) -> None:
self.stemmer = snowballstemmer.stemmer('spanish')
def stem(self, word: str) -> str: