You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2013/03/15 22:08:13 UTC

[jira] [Comment Edited] (LUCENE-4835) Raise maxClauseCount in BooleanQuery to Integer.MAX_VALUE

    [ https://issues.apache.org/jira/browse/LUCENE-4835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603850#comment-13603850 ] 

Mark Miller edited comment on LUCENE-4835 at 3/15/13 9:06 PM:
--------------------------------------------------------------

bq. 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?"

It would remove even more of those silly "why did I get TooManyClauses exception" questions that tons can still get at 1024 or whatever it is. How many people will be bitten with what you talking about? That many explicit bq's? Well that one in a million guy will bring his expcetion to the list and mention, oh, im doing 5 billion boolean clauses or whatever.

This silly artificial limit hasnt even kept pace with hardware improvements over the years :) Not that it matters - it's arbitrary to begin with.
                
      was (Author: markrmiller@gmail.com):
    bq. 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?"

It would remove even more of those silly "why did I get TooManyClauses exception" questions that tons can still get at 1024 or whatever it is. How many people will what your talking about bite? That many explicit bq's? Well that one in a million guy will bring his expcetion to the list and mention, oh, im doing 5 billion boolean clauses or whatever.

This silly artificial limit hasnt even kept pace with hardware improvements over the years :) Not that it matters - it's arbitrary anyway.
                  
> Raise maxClauseCount in BooleanQuery to Integer.MAX_VALUE
> ---------------------------------------------------------
>
>                 Key: LUCENE-4835
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4835
>             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: http://www.atlassian.com/software/jira

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