);
PhraseQuery pq2 = new PhraseQuery();
pq2.add(new Term("body", "blueberry"));
pq2.add(new Term("body", "chocolate"));
pq2.add(new Term("body", "tart"));
q.add(pq2, BooleanClause.Occur.SHOULD);
In this case I'll exact know on which query I have a match. But main
querstion is, Is this rewrite is equal/true?
Thanks.
--
dennis yermakov
mailto: dem...@gmail.com
y pq1 = new PhraseQuery();
> >> pq1.add(new Term("body", "blueberry"));
> >> pq1.add(new Term("body", "chocolate"));
> >> pq1.add(new Term("body", "pie"));
> >> q.add(pq1, BooleanClause.Occur.SHOULD);
> &g