You can use MultipleFieldQueryParser class, included with Lucene. Otis
--- Harpreet S Walia <[EMAIL PROTECTED]> 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: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
