Hi,
I installed the phonetics and ES is running fine now how do I configure the phonetics to double metaphone etc the below documentation is not clear, do I have to create a file and copy the below settings if so which directory?
Appreciate your response.
First, you will need to install the Phonetic Analysis plug-in from https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-phonetic.html on every node in the cluster, and restart each node.
Then, you can create a custom analyzer that uses one of the phonetic token filters and try it out:
PUT /my_index
{
"settings": {
"analysis": {
"filter": {
"dbl_metaphone": {
"type": "phonetic",
"encoder": "double_metaphone"
}
},
"analyzer": {
"dbl_metaphone": {
"tokenizer": "standard",
"filter": "dbl_metaphone"
}
}
}
}
}
First, configure a custom phonetic token filter that uses the double_metaphone encoder.
Then use the custom token filter in a custom analyzer.
Thanks
Anand