Hi,

I would like to build a BooleanQuery. This migt be simple, but I cannot find
the way how to do it.
It is also silly that the function
builder.createBooleanQuery(field, queryString, BooleanClause.Occur.MUST);
builds a TermQuery.

How can I bild such a query like
"fox MUST dog MUST_NOT" ?

TIA



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-build-a-Lucene-BooleanQuery-tp4297102.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to