lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: Phrase Query
Date Fri, 30 Jul 2004 07:50:53 GMT
On Thursday 29 July 2004 22:32, Hetan Shah wrote:

> All the Words:
> The Exact Phrase:
> Any of the Words:

Just use the query parser. For the "All" fields, set 
setOperator(DEFAULT_OPERATOR_AND) before you call parse(). For the phrase, 
just add quotes around the query before you feed it into QuerParser.

Regards
 Daniel


---------------------------------------------------------------------
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