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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>       
> ____________________________________________________________________________________
> Shape Yahoo! in your own image.  Join our Network Research Panel today!
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
>
>

Reply via email to