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

Lower default hl.fragAlignRatio

    XMLWordPrintableJSON

Details

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

    Description

      TheĀ hl.fragAlignRatio (for Unified Highlighter) has a large impact on performance. The default of 0.5 tries to place the highlighted words in the middle of the fragment. Lowering to somewhere between 0.20 and 0.33 can help a lot – see SOLR-15246 and previously in https://lists.apache.org/thread.html/r2e44d290eac9edfa61ed9eced0d9f01a7bd1cbdf910344b2aa2368b8%40%3Csolr-user.lucene.apache.org%3E

      Lowering to 0.33 (to thus first third) is a better balance.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              3 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