Hi,
Below is my elastic search settings.
{
"magento2_product_3_v4": {
"settings": {
"index": {
"creation_date": "1522234922811",
"analysis": {
"filter": {
"default_stemmer": {
"type": "stemmer",
"language": "cjk"
},
"unique_stem": {
"type": "unique",
"only_on_same_position": "true"
}
},
"char_filter": {
"default_char_filter": {
"type": "html_strip"
}
},
"analyzer": {
"default": {
"filter": [
"lowercase"
,
"keyword_repeat"
,
"default_stemmer"
,
"unique_stem"
],
"char_filter": [
"default_char_filter"
],
"type": "custom",
"tokenizer": "default_tokenizer"
}
},
"tokenizer": {
"default_tokenizer": {
"type": "standard"
}
}
},
"number_of_shards": "5",
"number_of_replicas": "1",
"uuid": "-iupNBO5TbO6zwQPjwujzQ",
"version": {
"created": "2040699"
}
}
}
}
}
I want to update default stemmer language to english instead of cjk.
I have tried below configuration in elasticsearch.yml. But no luck.
index:
analysis:
filter:
default_stemmer:
type: stemmer
language: english
The new alias is always setting language to cjk instead of english.
Am I doing anything wrong?