I\'ve two sets of search indexes. TestIndex (used in our test environment) and ProdIndex(used in PRODUCTION environment). Lucene search query: +date:[20090410184806 TO 200910071
Just put, BooleanQuery.setMaxClauseCount( Integer.MAX_VALUE );and that's it.
BooleanQuery.setMaxClauseCount( Integer.MAX_VALUE );