org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount > is set to 1024 at > org.apache.lucene.search.ScoringRewrite$1.checkMaxClauseCount(ScoringRewrite.java:68) at > org.apache.lucene.search.ScoringRewrite$ParallelArraysTermCollector.collect(ScoringRewrite.java:159) at > org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:81) at > org.apache.lucene.search.ScoringRewrite.rewrite(ScoringRewrite.java:114) at > org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:312) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:155) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:144) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getWeightedSpanTerms(WeightedSpanTermExtractor.java:384) at > org.apache.lucene.search.highlight.QueryScorer.initExtractor(QueryScorer.java:216) at > org.apache.lucene.search.highlight.QueryScorer.init(QueryScorer.java:184) at > org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:205) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlightingByHighlighter(DefaultSolrHighlighter.java:511) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:402) at > org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:121) at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194) at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)

lucene-solr-user | Erick Erickson | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Highlighting with prefix queries and maxBooleanClause

    lucene-solr-user | 5 years ago | Erick Erickson
    org.apache.lucene.search.BooleanQuery$TooManyClauses: maxClauseCount > is set to 1024 at > org.apache.lucene.search.ScoringRewrite$1.checkMaxClauseCount(ScoringRewrite.java:68) at > org.apache.lucene.search.ScoringRewrite$ParallelArraysTermCollector.collect(ScoringRewrite.java:159) at > org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:81) at > org.apache.lucene.search.ScoringRewrite.rewrite(ScoringRewrite.java:114) at > org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:312) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:155) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:144) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getWeightedSpanTerms(WeightedSpanTermExtractor.java:384) at > org.apache.lucene.search.highlight.QueryScorer.initExtractor(QueryScorer.java:216) at > org.apache.lucene.search.highlight.QueryScorer.init(QueryScorer.java:184) at > org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:205) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlightingByHighlighter(DefaultSolrHighlighter.java:511) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:402) at > org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:121) at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194) at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)

    Root Cause Analysis

    1. org.apache.lucene.search.BooleanQuery$TooManyClauses

      maxClauseCount > is set to 1024 at > org.apache.lucene.search.ScoringRewrite$1.checkMaxClauseCount(ScoringRewrite.java:68) at > org.apache.lucene.search.ScoringRewrite$ParallelArraysTermCollector.collect(ScoringRewrite.java:159) at > org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:81) at > org.apache.lucene.search.ScoringRewrite.rewrite(ScoringRewrite.java:114) at > org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:312) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:155) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.extract(WeightedSpanTermExtractor.java:144) at > org.apache.lucene.search.highlight.WeightedSpanTermExtractor.getWeightedSpanTerms(WeightedSpanTermExtractor.java:384) at > org.apache.lucene.search.highlight.QueryScorer.initExtractor(QueryScorer.java:216) at > org.apache.lucene.search.highlight.QueryScorer.init(QueryScorer.java:184) at > org.apache.lucene.search.highlight.Highlighter.getBestTextFragments(Highlighter.java:205) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlightingByHighlighter(DefaultSolrHighlighter.java:511) at > org.apache.solr.highlight.DefaultSolrHighlighter.doHighlighting(DefaultSolrHighlighter.java:402) at > org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:121) at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194) at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)

      at org.apache.solr.core.SolrCore.execute()
    2. Apache Solr Core
      SolrCore.execute
      1. org.apache.solr.core.SolrCore.execute(SolrCore.java:1478)
      1 frame