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

hl.maxAnalyzedChars should have consistent default across highlighters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4
    • Fix Version/s: 6.5
    • Component/s: highlighter
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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__default_hl_maxAnalyazedChars.patch
          5 kB
          David Smiley
        2. SOLR-10018-test.patch
          1 kB
          Christine Poerschke

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: