I have deployed cluster on Elasticsearch Cloud . Now , I want to add phonetic search feature.
For that I was putting this setting with php api :
'settings' => [
'analysis' => [
'normalizer' => [
"lowercase_normalizer" => [
'type' => 'custom',
'char_filter' => [],
'filter' => ['lowercase']
]
],
"filter" => [
"shingle" => [
"min_shingle_size" => 2,
"max_shingle_size" => 3,
"type" => "shingle"
],
"metaphone" => [
"type" => "phonetic",
"encoder" => "metaphone",
"replace" => false,
]
],
"analyzer" => [
'suggester' => [
'type' => "custom",
'tokenizer' => 'standard',
'filter' => ["shingle", "lowercase", "my_metaphone"]
]
],
]
]
But I got the error :
{"error":{"root_cause":[{"type":"remote_transport_exception","reason":"[tiebreaker-0000000002][172.17.0.11:19552][indices:admin/create]"}],"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [metaphone]"},"status":400}
I know we have to install plugin for that, But I don't if I have to install it or not for cloud elasticsearch. And if I have to install it, then how and if not then how to use phonetic filter in cloud ?