lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
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.

Best
Erick

On 10/8/07, Cool Coder <techcool.kumar@yahoo.com> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
>       ____________________________________________________________________________________
> Shape Yahoo! in your own image.  Join our Network Research Panel today!
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
>

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