Using prefix in must_not

I am currently trying to query my data and exclude everything that begins with "EP". Am I able to use both prefix and must_not to satisfy this? If not, what can I use?

Hi @breiter,

Welcome to the community! The prefix query should be valid within a must_not context. Are you seeing a particular issue with a query using both of these?

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