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

Some highlight checkboxes are broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Admin UI
    • None

    Description

      In the query UI, when configuring a highlight enabled search, there are three checkboxes for additional highlight parameters. When they are checked, they add the appropriate parameters to the query, e.g.
      hl.usePhraseHighligher=true

      However, usePhraseHighligher and highlightMultiTerm are true by default (according to the 5.1 docs). So these checkboxes really don't do anything, and there is no way to turn off these parameters from the GUI.

      The solution is to make the parameters always part of the query (when highlighting is on), and just toggle the true/false value.

      Attachments

        1. SOLR-7515.patch
          2 kB
          Matt Pearce

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mjhilt Matt Hilt
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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