cancel
Showing results for 
Search instead for 
Did you mean: 

maxClauses in repository.properties

yogeshpj
Star Contributor
Star Contributor
what is the use of lucene.query.maxClauses property in repository.properties ?
2 REPLIES 2

janv
Employee
Employee
Extract from:

http://wiki.alfresco.com/wiki/Full-Text_Search_Configuration

lucene.query.maxClauses=10000
Max Clauses (Lucene standard parameter)
Lucene queries limit the number of clauses in a boolean query to this value. Some queries are expanded into a whole set of boolean query with many clauses under the covers. For example, searching for luc* will expand to a boolean query containing an "OR" for every token the index knows about that matches luc*.

Regards,
Jan

yogeshpj
Star Contributor
Star Contributor
Thanks janv ,

     it means that if i am search with luc* then the clauses that lucene for searching will use like luce,lucn,lucu … etc will be limited 10,000. Am i right ?