]
Arnav Bhati edited comment on ISPN-6728 at 7/12/18 10:34 AM:
-------------------------------------------------------------
[~anistor] - can you confirm if below is correct ?
public void setQueryMaxClauses(int queryMaxClauses)
{
this.queryMaxClauses = queryMaxClauses;
BooleanQuery.setMaxClauseCount(this.queryMaxClauses);
}
was (Author: rhn-support-abhati):
[~anistor] - can you provide a sample for such script ?
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.