Aricie
The DNN Expert for your web project
DNN Community Forums

Bug Related to Large Result Sets

Sort:
You are not authorized to post a reply.
Author
Messages


G











New Member



Posts:




New Member



    BooleanQuery.TooManyClauses; maxTermClause is set to 1024; Explanation :http://www.docjar.com/doc...is-set-to-1024-error


    samyb











    New Member



    Posts:




    New Member



      Hello,

      This problem is indeed caused by expanding to much terms in a boolean query: if you have a field containing values ranging from "term1" to "term1025", searching for "term" would exapnd into "term1 OR term2 OR term3 OR term4 ... OR term1025" which hits an inner limit of LuceneSearch. Raising the number of search terms expansion is a solution, however queries will be heavier.

      Do you have the problem on a specific field, or is it a vanilla LuceneSearch query? Could you give me some idea of how many documents you have indexed and what kind of filters you're using (prefix filter would look like the culprit here)? Does searching without any parameter creates the same error?

      Best regards,
      Samy
      You are not authorized to post a reply.