Adding a new field with phonetic(metaphone) value in elasticsearch index with logstash

I am new to Elasticsearch and trying to index phonetic value(metaphone) into my Elasticsearch index using logstash.

index example:

{ "_id" : "lRBYHIAB4PMEhuD9IXcF", "name":"KEVIN GENTLE" }

and when we index it, i am supposed to get { "_id" : "lRBYHIAB4PMEhuD9IXcF", "name":"KEVIN GENTLE", "metaphone": "kfNjNtL" }

I came across Elasticsearch phonetic plugin but don't know how to use that plugin in logstash or is there any other way to add new field using logstash with the phonetic value of name.

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