lucene-dev mailing list archives

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

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

Robert Muir commented on LUCENE-4835:
-------------------------------------

i was thinking about someone who has a bug in their code and accidentally keeps adding to
the same BQ. I feel like i've done this writing tests before, probably multiple times. If
instead my code seemed hung, only to finally get OOM or some ArrayStoreException or something
wacky in some strange place, it would take me longer to realize my mistake. :)

                
> 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


Mime
View raw message