You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Otis Gospodnetic <ot...@yahoo.com> on 2002/04/04 15:22:23 UTC

Re: Querying multiple fields of a index

You can use MultipleFieldQueryParser class, included with Lucene.

Otis

--- Harpreet S Walia <xa...@yahoo.com> wrote:
> Hi,
> 
> Is it possible to query multiple fields of  a given index and get the
> result
> based on this combined query.
> i.e for example if  i want to serach for a word "lucene" in the title
> field
> and the word "engine" in the summary filed and want the results based
> on
> these words .
> 
> How can i achieve this ?
> 
> TIA
> 
> Regards
> Harpreet
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>