Is Fuzzy sentence search in elasticsearch based on edit distance of words?

For a given index I have added documents like:

[
{"expression": "tell me something about elasticsearch"},
{"expression": "this is a new feature for elasticsearch"},
{"expression": "tell me something about kibana"},
# ... and so on
]

Now, I want to query Elasticsearch in a such a that for given input expression: "tell me something on elasticsearch". It must give out:

{"expression": "tell me something about elasticsearch"},
{"expression": "tell me something about kibana"}

Since it this case edit distance w.r.t. to words (not character level) is less in this case.

Can we perform such a query on elasticsearch?

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