Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10018

hl.maxAnalyzedChars should have consistent default across highlighters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.4
    • 6.5
    • highlighter
    • None

    Description

      I see no reason why hl.maxAnalyzedChars should have different defaults per highlighter implementation. The default is typically 51,200 but for the UnifiedHighlighter and PostingsHighlighter it's 10,000. This could easily lead to an unexpected lack of highlights that you expect to see when trying the UH.

      Attachments

        1. SOLR-10018-test.patch
          1 kB
          Christine Poerschke
        2. SOLR_10018__default_hl_maxAnalyazedChars.patch
          5 kB
          David Smiley

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: