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

Option to use payloads with default highlighter

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • highlighter
    • None

    Description

      MemoryIndex can now store payloads (LUCENE-6155), and there's a corresponding boolean flag setter on QueryScorer (used by the default highlighter). We should add a parameter to toggle this. It will only take effect if hl.usePhraseHighlighter=true and the source of the tokens comes from re-analysis. This settings is ignored if the tokens come from term vectors which support payloads already (in Lucene/Solr 5) provided they are there.

      I suggest naming this boolean parameter hl.payloads.

      Attachments

        1. SOLR-6916.patch
          7 kB
          David Smiley

        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: