Created
July 18, 2016 08:31
-
-
Save ignasio/6eeba0123bc088cd2a84c5e92f7aa0f9 to your computer and use it in GitHub Desktop.
Revisions
-
ignasio created this gist
Jul 18, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ index: number_of_shards: 3 number_of_replicas: 0 # not for production analysis: char_filter: ru: type: mapping mappings: ['Ё=>Е', 'ё=>е'] analyzer: ru_RU: tokenizer: "standard" filter: [stopwords_ru, stop, custom_word_delimiter, lowercase, ru_RU] filter: ru_RU: type: "hunspell" language: "ru_RU" stopwords_ru: type: stop stopwords: [а,без,более,бы,был,была,были,было,быть,в,вам,вас,весь,во,вот,все,всего,всех,вы,где,да,даже,для,до,его,ее,если,есть,еще,же,за,здесь,и,из,или,им,их,к,как,ко,когда,кто,ли,либо,мне,может,мы,на,надо,наш,не,него,нее,нет,ни,них,но,ну,о,об,однако,он,она,они,оно,от,очень,по,под,при,с,со,так,также,такой,там,те,тем,то,того,тоже,той,только,том,ты,у,уже,хотя,чего,чей,чем,что,чтобы,чье,чья,эта,эти,это,я] ignore_case: true custom_word_delimiter: type: word_delimiter generate_word_parts: true generate_number_parts: true catenate_words: true catenate_numbers: false catenate_all: true split_on_case_change: true preserve_original: true split_on_numerics: false