Search code examples
solrlucenequery-parser

Lucene max term query limit


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


Solution

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