How to emulate "NEAR" search from MSSQL (word X NEAR word Y)

Hi lovely Elasticsearch community,

I've been struggling with this for a while. I would like to be able to combine asterisk search with "fuzziness" on a world level. Let me give you an example:

I wanna search for when: comput* is mentioned NEAR/4 Mich* for example.

So it would match both: "Computer is owned by Michelle" and "Computing with Michael".

How can I achieve this?

I've found SPAN NEAR, but that seems to be for terms and things like "computing michelle"~4 cannot be used because I cannot use the fuzzy asterisk search inside that quote.

Please help!

All the best,
Håkan W

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