lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <>
Subject Re: Grouping by field value
Date Tue, 09 Oct 2007 13:09:28 GMT
Sure. You can either build up the string and let QueryParser handle it
or construct your very own BooleanQuery appropriately. The second
is what I'd try first.


On 10/8/07, Cool Coder <> wrote:
> >If Solr will work for you, it has faceting built in.
> Let me check with Solr, whether I can use Solr.
> >> My next question is very simple, I just wanted to search more than one
> field something like search for "kbk pencil" in "description" field and
> >>"manufacturer" field. Can I use BooleanQuery for that?
> >It depends highly on what you want to match... is kbk in one field and
> >pencil in the other field acceptable or not, etc?
> I just wanted to search "kbk pencil" value for fields "description" and
> "manufacturer" . It might happen that I can use more than one field in query
> with AND, OR clause. Does Lucence support such queries?
> -RB
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>       ____________________________________________________________________________________
> Shape Yahoo! in your own image.  Join our Network Research Panel today!

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