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

Apply highlighting to hl.alternateField

    Details

      Description

      Today, you can configure hl.alternateField for highlighter to display if no snippets were produced from original field. But the contents of the fallback field is output without highlighting the original query terms.

      This issue will cause alternate field to be highlighted with no snippet generation, and still respect max length. You can turn it off using new param hl.highlightAlternate=false. Supported highlighters: Simple, FVH

        Attachments

        1. SOLR-8583.patch
          18 kB
          Jan Høydahl
        2. SOLR-8583.patch
          17 kB
          Jan Høydahl
        3. SOLR-8583.patch
          16 kB
          Jan Høydahl
        4. SOLR-8583.patch
          16 kB
          Jan Høydahl
        5. SOLR-8583.patch
          14 kB
          Jan Høydahl
        6. SOLR-8583.patch
          6 kB
          Jan Høydahl

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              janhoy Jan Høydahl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: