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

Make UnifiedHighlighter the default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 9.0
    • highlighter
    • None

    Description

      I think the UnifiedHighlighter should be the default in 8.0. It's faster and more accurate than alternatives.

      The original highlighter however has some benefits:

      • Different passage/snippet delineation options; somewhat more flexible. Though no i18n BreakIterator based one.
      • Seems to handle some "special" Queries and/or QueryParsers by default better – namely SurroundQParser. Though SOLR-12895 will address this UH issue.
      • Considers boosts in the query when computing a passage score
      • hl.alternateField, hl.maxAlternateFieldLength, hl.highlightAlternate options. Instead the UH has hl.defaultSummary boolean

      See https://builds.apache.org/job/Solr-reference-guide-master/javadoc/highlighting.html

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m