Currently, the phonetic plugin performs full text search on the field and returns the whole content when a phonetically similar word is present in the content.
How do i return just that phonetically similar word instead of the whole content?
E.g. from ES documentation
Querying for:
GET /my_index/my_type/_search
{
"query": {
"match": {
"name.phonetic": {
"query": "Smeeth"
}
}
}
}
Would give me: John Smith, Johnnie Smythe
But what I want is: Smith, Smythe
