Lucene max term query limit

lucene, query-parser, solr

Solution

There is `BooleanQuery.setMaxClauseCount` which you might want to invoke and raise this limit.

Problem

Does Lucene (or Solr) still have the 1024 max terms query limit? I could not find this info in the 3.6 lucene version and I'd need to fire a query with a high number of terms. Thank you, - Dan

Original source