PUT doc_bn
{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"refresh_interval": "10s",
"analysis": {
"filter": {
"my_stop": {
"type": "stop",
"stopwords": "_bengali_"
},
"my_stemmer": {
"type": "stemmer",
"language": "bengali"
}
},
"analyzer": {
"my_html": {
"tokenizer": "standard",
"char_filter": [
"html_strip"
],
"filter": [
"lowercase",
"indic_normalization",
"bengali_normalization",
"my_stop",
"my_stemmer"
]
}
}
},
"mappings": {
...
}
}
Custom Analyzer [my_html] failed to find filter under name [bengali_normalization]
I supposed it is available from reading the following link:
https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html#bengali-analyzer
GET /
{
"name": "elasticsearch1",
"cluster_name": "docker-cluster",
"cluster_uuid": "6m0JCM_vQv2AnQiNFYx76g",
"version": {
"number": "6.0.1",
"build_hash": "601be4a",
"build_date": "2017-12-04T09:29:09.525Z",
"build_snapshot": false,
"lucene_version": "7.0.1",
"minimum_wire_compatibility_version": "5.6.0",
"minimum_index_compatibility_version": "5.0.0"
},
"tagline": "You Know, for Search"
}