lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: how to combine queries?
Date Mon, 05 Apr 2004 09:48:38 GMT
Moving to lucene-user list.

You can use MultiFieldQueryParser if you want to parse queries entered
by people, or use BooleanQuery and its add methods if you want to
combine queries programmatically.

Otis

--- Amrun <Amrun@gmx.at> wrote:
> Hi, 
> 
> I'm new to lucene and I need to search for the content of several
> fields.
> For example, I want to search for the given keywort in the
> content-field, in
> the title-field, in a category-field and so on. How can I do this the
> best
> way?
> 
> thanks for help
> Amrûn
> 
> -- 
> +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter
> Virenschutz +++
> 100% Virenerkennung nach Wildlist. Infos:
> http://www.gmx.net/virenschutz
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message