lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Silveira" <paulo.silve...@caelum.com.br>
Subject MultiFieldQueryParser.parse deprecated. What can I use?
Date Tue, 25 Jul 2006 05:22:08 GMT
Hello

What can I use as a drop in replacement? I mean, about the (String,
String[], Analyzer) one.

The 1.9.1 javadoc says to use QueryParser.parse, but I need to
construct the query first. Any util method or do I need to do the for?
If this is the solution, maybe it is more elegant to use the for to
create a big BooleanQuery, .adding new BooleanClause.Occur.Must
clauses each loop?

thanks

 --
Paulo E. A. Silveira
Caelum Ensino e Soluções em Java
http://www.caelum.com.br/

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


Mime
View raw message