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

Gustavo Fernandes (Jira) issues at jboss.org
Thu Nov 8 14:30:01 EST 2018


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

Gustavo Fernandes commented on ISPN-6728:
-----------------------------------------

I can confirm that running a server task it's possible to increase the limit. Sample code and instructions are on https://github.com/gustavonalle/lucene-task.

This workaround has some issues: it needs to be done in every node of the cluster, and it does not survives restart.


>  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
>            Assignee: Adrian Nistor
>            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
(v7.12.1#712002)


More information about the infinispan-issues mailing list