Browse Source

add min_word_len, min_prefix_len, html_strip, index_exact_words presets example

main
ghost 2 years ago
parent
commit
17f69b9661
  1. 13
      config/sphinx.conf.txt

13
config/sphinx.conf.txt

@ -35,7 +35,14 @@ source hostPage : common
index hostPage index hostPage
{ {
source = hostPage source = hostPage
morphology = stem_enru, stem_cz, stem_ar morphology = stem_enru, stem_cz, stem_ar
path = /var/lib/sphinxsearch/data/hostPage path = /var/lib/sphinxsearch/data/hostPage
min_word_len = 2
min_prefix_len = 2
html_strip = 1
index_exact_words = 1
} }
Loading…
Cancel
Save