Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5087

add PostingsHighlighter.getGapSeparator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4, 6.0
    • modules/highlighter
    • None
    • New

    Description

      Currently this is hardcoded to a space. But in some situations for a multi-valued field (e.g. authors field), its convenient to treat each value discretely. See LUCENE-2603 for example.

      So for such a field its nice if you can override and specify something else like U+2029 PARAGRAPH SEPARATOR.

      Attachments

        1. LUCENE-5087.patch
          7 kB
          Robert Muir
        2. LUCENE-5087.patch
          7 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: