Native Lucene Query not working in Hibernate Search 7.2.1

Hi,

I’d encourage you to look at simpleQueryString and queryString predicates if you need to work with string queries.

If those do not cover your needs in functionality and you have some custom Lucene queries and must use those then make sure you do not rely on internal fields as those may change, like they did here:

_hibernate_class isn’t there. “type filtering” would already happen for you when you defined the query scope:

Removing that first must clause should provide you with the same results.