lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Rewrite for RegexpQuery
Date Mon, 11 Mar 2013 12:38:19 GMT
On Mon, Mar 11, 2013 at 7:08 AM, Uwe Schindler <uwe@thetaphi.de> wrote:

> Set the rewrite method to e.g. SCORING_BOOLEAN_QUERY_REWRITE, then this should work (after
rewrite your query is a BooleanQuery, which supports extractTerms()).

... as long as you don't exceed the max number of terms allowed by BQ
(1024 by default, but you can raise it).

Mike McCandless

http://blog.mikemccandless.com

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