lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: maxClauseCount in solrconfig.xml
Date Tue, 20 Oct 2009 13:19:05 GMT
On Tue, Oct 20, 2009 at 9:06 AM, Mark Miller <markrmiller@gmail.com> wrote:
>    <!-- Maximum number of clauses in a boolean query... can affect
>        range or prefix queries that expand to big boolean
>        queries.  An exception is thrown if exceeded.  -->
>    <maxBooleanClauses>1024</maxBooleanClauses>
>
> Anyone think we should clarify that? The built-in multiterm queries are
> constant score now, so its a bit misleading.

Hmmm, yep... out of date.

> Also, why are we using
>
> prefixQuery.setRewriteMethod(MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE);

I dunno - ask the guy who made the change ;-)
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/SolrQueryParser.java?revision=801872&view=markup

-Yonik
http://www.lucidimagination.com

Mime
View raw message