Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 425 Bytes

033-use-sphinx-to-get-stop-words.md

File metadata and controls

9 lines (6 loc) · 425 Bytes

Как собрать стоп-слова самим Сфинксом

indexer умеет выбирать самые частые слова в индексе:

indexer --buildstops stopwords.txt 300 --config config/development.sphinx.conf your_index_core

В stopwords.txt окажутся 300 самых популярных слов, большая часть из которых — предлоги.