2016-11-03 00:26:30,841 [P12416/D14/T16] WARN umbraco.macro - Error loading Partial View (file: ~/Views/MacroPartials/Search.cshtml). Exception: Lucene.Net.Search.BooleanQuery+TooManyClauses: maxClauseCount is set to 1024
at Lucene.Net.Search.BooleanQuery.Add(BooleanClause clause)
at Lucene.Net.Search.BooleanQuery.Add(Query query, Occur occur)
at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GetMultiFieldQuery(String[] fields, IExamineValue[] fieldVals, Occur occurance, Boolean matchAllCombinations) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 717
at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GroupedOrInternal(String[] fields, IExamineValue[] fieldVals, Occur occurance) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 622
at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GroupedOr(IEnumerable`1 fields, IExamineValue[] fieldVals) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 609
at Examine.LuceneEngine.Providers.BaseLuceneSearcher.TextSearchAllFields(String searchText, Boolean useWildcards, ISearchCriteria sc) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 142
at Examine.LuceneEngine.Providers.BaseLuceneSearcher.Search(String searchText, Boolean useWildcards) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 133
at ASP.PageViewsMacroPartialsSearch_cshtml.Execute() in f:\web\Views\MacroPartials\Search.cshtml:line 176
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
at Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult)
at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content)
at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, INode node)
at umbraco.macro.LoadPartialViewMacro(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
WARN umbraco.macro - Error loading Partial View
Hi all,
Noticed warning in log files:
2016-11-03 00:26:30,841 [P12416/D14/T16] WARN umbraco.macro - Error loading Partial View (file: ~/Views/MacroPartials/Search.cshtml). Exception: Lucene.Net.Search.BooleanQuery+TooManyClauses: maxClauseCount is set to 1024 at Lucene.Net.Search.BooleanQuery.Add(BooleanClause clause) at Lucene.Net.Search.BooleanQuery.Add(Query query, Occur occur) at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GetMultiFieldQuery(String[] fields, IExamineValue[] fieldVals, Occur occurance, Boolean matchAllCombinations) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 717 at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GroupedOrInternal(String[] fields, IExamineValue[] fieldVals, Occur occurance) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 622 at Examine.LuceneEngine.SearchCriteria.LuceneSearchCriteria.GroupedOr(IEnumerable`1 fields, IExamineValue[] fieldVals) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\SearchCriteria\LuceneSearchCriteria.cs:line 609 at Examine.LuceneEngine.Providers.BaseLuceneSearcher.TextSearchAllFields(String searchText, Boolean useWildcards, ISearchCriteria sc) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 142 at Examine.LuceneEngine.Providers.BaseLuceneSearcher.Search(String searchText, Boolean useWildcards) in X:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\Providers\BaseLuceneSearcher.cs:line 133 at ASP.PageViewsMacroPartialsSearch_cshtml.Execute() in f:\web\Views\MacroPartials\Search.cshtml:line 176 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.Mvc.WebViewPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) at Umbraco.Web.Mvc.ControllerExtensions.RenderViewResultAsString(ControllerBase controller, ViewResultBase viewResult) at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, IPublishedContent content) at Umbraco.Web.Macros.PartialViewMacroEngine.Execute(MacroModel macro, INode node) at umbraco.macro.LoadPartialViewMacro(MacroModel macro) at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
Where I can set maxClauseCount?
Thanks, Mike
is working on a reply...