Details
Description
BooleanQuery 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
Uncaught Throwable org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount is set to 1024