ElasticSearch Query parameter for approximate filter


(Vitor Darela) #1

Hello everyone,
I'm starting in ElasticSearch, I have in ElasticSearch an object indexed with the name "Ronaldinho", I'm trying to create an approximate filter search, for example, when I try to search for "Ronaldo" or "Renaldo" the object "Ronaldinho" can be shown.

http://127.0.0.1//elasticsearch/channels/channel/_search?q=*Ronaldo*

I tried this way, but as it has different words the result does not appear.


(Alexander Reelsen) #2

There are a few queries supporting fuzziness, but in this case it is not enough. You might be interested in taking a look at the phonetic plugins - which need to be installed in addition. See

https://www.elastic.co/guide/en/elasticsearch/reference/6.4/query-dsl-match-query.html#query-dsl-match-query-fuzziness
https://www.elastic.co/guide/en/elasticsearch/plugins/6.4/analysis-phonetic.html


(system) #3

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