Change BooleanQuery maxClauseCount to Integer.MAX_VALUE