Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dibs 202 posts 991 karma points
    Aug 06, 2020 @ 10:18
    Dibs
    0

    Umbraco Search error

    Dear Umbraco Team

    Im using Umbraco 8 search out of the box simple search box and results page no custom code for indexers.

    Im getting a Lucene.Net.Search.BooleanQuery+TooManyClauses: maxClauseCount is set to 1024 error in log viewer.

    Google search says i can increase SetMaxClauseCount to 2048, how can i do that in Umbraco 8 ?

    Dibs

  • LandLogic IT 6 posts 27 karma points
    May 13, 2024 @ 18:53
    LandLogic IT
    0

    Solution for Umbraco 12+: @using Lucene.Net.Search

    @{

    BooleanQuery.MaxClauseCount = Int32.MaxValue;
    

    }

Please Sign in or register to post replies

Write your reply to:

Draft