Notwithin operator

I’m trying to achieve with searches Notwithin operators but no luck with intervals query,
• a?e NOTWITHIN (How are yo?): find all the documents not having “a?e” (? can be any character) inside the phrase “How are yo?” (? can be any character)

I’ve tried following in the Elasticsearch:

Problem seen:
• the not_contained_by filter along with wildcard interval seems to be the closest fit but wildcard pattern is only recognising terms/single words and not sentences

Any guidance would be helpful here.

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