Full code of bool qurry using java api


(prashant) #1

boolQuery() .must(termQuery("content", "test1")) .must(termQuery("content", "test4")) .mustNot(termQuery("content", "test2")) .should(termQuery("content", "test3")) .filter(termQuery("content", "test5"));


(David Pilato) #2

Is it a question?


(system) #3

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