Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top