KER-236 : Default maxClauseCount (1024) is exceeded with lucene BooleanQuery