Full code of bool qurry using java api

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

Is it a question?

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