lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chaitanya Kumar Ch <chaitu381...@gmail.com>
Subject Re: How to build a Lucene BooleanQuery?
Date Wed, 21 Sep 2016 11:20:22 GMT
I am able to create BooleanQuery using
BooleanQuery categoryQuery = new BooleanQuery();

I don't understand why you said it does not exist.

On Wed, Sep 21, 2016 at 4:39 PM, szzoli <reg9szabo@freemail.hu> wrote:

> Thank you.
>
> This is almost the solution, but how can I build a BoolesanQuery?
> The
> BooleanQuery categoryQuery = new BooleanQuery();
> does not exist, the
> builder.createBooleanQuery(field, queryString);
> creats a TermQuery.
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/How-to-build-a-Lucene-BooleanQuery-tp4297102p4297106.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
Thank You,
Chaitanya Kumar Ch,
+91 9550837582

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message