lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-4835) Raise maxClauseCount in BooleanQuery to Integer.MAX_VALUE
Date Fri, 15 Mar 2013 20:56:13 GMT


Robert Muir commented on LUCENE-4835:

I'm not sure it should be Integer.MAX_VALUE. you can't even create arrays this big with current
jvms. this wouldn't be a safe change. it would change the natural of help requests from "why
did i get TooManyClauses exception" to "why did i get super-strange exception: is this a bug?"
> Raise maxClauseCount in BooleanQuery to Integer.MAX_VALUE
> ---------------------------------------------------------
>                 Key: LUCENE-4835
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.2
>            Reporter: Shawn Heisey
>             Fix For: 5.0, 4.3
> Discussion on SOLR-4586 raised the idea of raising the limit on boolean clauses from
1024 to Integer.MAX_VALUE.  This should be a safe change.  It will change the nature of help
requests from "Why can't I do 2000 clauses?" to "Why is my 5000-clause query slow?"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message