[ 
https://issues.apache.org/jira/browse/OAK-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominique Jäggi closed OAK-3990.
--------------------------------

bulk close for release 1.0.27

> Enable specifying the max clause limit in BooleanClause
> -------------------------------------------------------
>
>                 Key: OAK-3990
>                 URL: https://issues.apache.org/jira/browse/OAK-3990
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.2.11, 1.0.27, 1.3.16
>
>
> [BooleanQuery|https://lucene.apache.org/core/4_7_1/core/org/apache/lucene/search/BooleanQuery.html#setMaxClauseCount(int)]
>  by default has a limit for 1024 clauses. This is a fair limit to have. 
> However in certain cases it would be desirable to adjust this limit so we 
> should provide support for that
> This limit would be hit if a JCR Query has > 1024 number of OR clauses and 
> following exception would be seen
> {noformat}
> Uncaught Throwable
> org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set 
> to 1024
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to