Reputation: 281
My application fired Solr query which is of very long length, All i wanted to know is there is a limit for the query which SolrJ allows or its unlimited.?
Upvotes: 0
Views: 423
Reputation: 26733
In Lucene, this is typically restricted to 1024 clauses of BooleanQuery
. You can increase this by calling BooleanQuery.setMaxClauseCount(...)
.
Upvotes: 1