Mark Miller 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.
>
> Also, why are we using
>
>    
> prefixQuery.setRewriteMethod(MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE);
>
> Don't we want to use AUTO for the multi-term queries? Its essentially
> the same but with better performance for low term counts?
>
>   
In fact, range query is using auto - almost doesn't make sense not to
use it for wildcard and prefix as well ...

-- 
- Mark

http://www.lucidimagination.com



Reply via email to