Upgrading from 1.X to 5.X : FilterBuilders.notFilter

(Mahesh Maney) #1


I'm upgrading from 1.X to 5.X (finally ...phew...)
I'm facing an issue with FilterBuilder. At present (1.3.2) my code is
How do i convert the above code to work in 5.5.1?

(Alexander Reelsen) #2

try a bool query with a must_not clause in the filter part of another boolean query (on top of my head, not tested).

(system) #3

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