Skip to content

Instantly share code, notes, and snippets.

@yeremi
Created October 20, 2015 13:36
Show Gist options
  • Select an option

  • Save yeremi/a08d5133b9625b800a9f to your computer and use it in GitHub Desktop.

Select an option

Save yeremi/a08d5133b9625b800a9f to your computer and use it in GitHub Desktop.
[
{
"index":"company-pt",
"analysis":{
"filter":{
"pt_stop_filter":{
"type":"stop",
"stopwords":[
"_portuguese_"
]
},
"pt_stem_filter":{
"type":"stemmer",
"name":"minimal_portuguese"
}
},
"analyzer":{
"pt_analyzer":{
"type":"custom",
"filter":[
"icu_normalizer",
"lowercase",
"pt_stop_filter",
"pt_stem_filter",
"icu_folding"
],
"tokenizer":"icu_tokenizer"
}
}
}
},
{
"index":"company-en",
"analysis":{
"filter":{
"en_stop_filter":{
"type":"stop",
"stopwords":[
"_english_"
]
},
"en_stem_filter":{
"type":"stemmer",
"name":"minimal_english"
}
},
"analyzer":{
"en_analyzer":{
"type":"custom",
"filter":[
"icu_normalizer",
"lowercase",
"en_stop_filter",
"en_stem_filter",
"icu_folding"
],
"tokenizer":"icu_tokenizer"
}
}
}
},
{
"index":"company-es",
"analysis":{
"filter":{
"es_stop_filter":{
"type":"stop",
"stopwords":[
"_spanish_"
]
},
"es_stem_filter":{
"type":"stemmer",
"name":"light_spanish"
}
},
"analyzer":{
"es_analyzer":{
"type":"custom",
"filter":[
"icu_normalizer",
"lowercase",
"es_stop_filter",
"es_stem_filter",
"icu_folding"
],
"tokenizer":"icu_tokenizer"
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment