From 8bc8a943e755f9c1e80ea94529ceebe551ed6bbf Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 5 Jun 2023 18:13:31 +0300 Subject: [PATCH] add lemmatize_de_all --- config/sphinx.conf.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config/sphinx.conf.txt b/config/sphinx.conf.txt index cba5361..40476a2 100644 --- a/config/sphinx.conf.txt +++ b/config/sphinx.conf.txt @@ -36,7 +36,7 @@ source hostPage : common index hostPage { source = hostPage - morphology = stem_enru, stem_cz, stem_ar + morphology = stem_enru, stem_cz, stem_ar, lemmatize_de_all # lemmatize_ru_all, lemmatize_en_all path = /var/lib/sphinxsearch/data/hostPage min_word_len = 2 @@ -45,4 +45,14 @@ index hostPage html_strip = 1 index_exact_words = 1 +} + +indexer +{ + mem_limit = 128M + lemmatizer_cache = 128M +} + +common { + lemmatizer_base = /var/lib/sphinxsearch/dicts # http://sphinxsearch.com/downloads/dicts } \ No newline at end of file