[infinispan-issues] [JBoss JIRA] (ISPN-6728) Add ability to override maxClauseCount

Van Halbert (JIRA) issues at jboss.org
Fri May 27 15:15:00 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244301#comment-13244301 ] 

Van Halbert commented on ISPN-6728:
-----------------------------------

Changing this to minor as Teiid has a workaround to this by creating multiple  IN conditions in the query that have a max of 1024 criteria each.   Have only tested using 2 at this point, so I'm not sure what the maximum allowed IN conditions Infinispan can support.  And the user has the ability to override the number of "IN" clauses allowed, so there is a work around.  However, if you know the limit of "IN" clauses, it would be helpful so that Teiid can permanently set the boundary so the user knows the limits.

>  Add ability to override maxClauseCount
> ---------------------------------------
>
>                 Key: ISPN-6728
>                 URL: https://issues.jboss.org/browse/ISPN-6728
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Remote Querying, Server
>            Reporter: Van Halbert
>            Priority: Minor
>
> We are using the Hotrod client, and need the ability to specify or override the maxClauseCount setting, otherwise, we get the following error message:
> - org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024 setting 
> This will occur when there are more than 1024 "IN" conditions specified on the query builder.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list