I’m trying to achieve Proximity searches with whole wild card,
• (Alice * Bob) NEAR/4 (Sam * * John): find all the documents having the phrase “Alice * Bob” within 4 words distance to “Sam * * John”.
I’ve tried following in the Elasticsearch:
Nested intervals query did not work as the max_gaps parameter was focusing on max distance and not exact distance.
Any guidance would be helpful here.