Phonetic Plugin for Elasticsearch Cloud


(Vishwas Jadav) #1

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 ?


(David Pilato) #2

Please see https://www.elastic.co/cloud/as-a-service/support on how to raise a support ticket for Elastic Cloud :slight_smile:

But what gives

GET /_cat/plugins?v

(Vishwas Jadav) #3

I just found the solution for it.
https://www.elastic.co/guide/en/cloud/current/ec-adding-plugins.html


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.