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

add PostingsHighlighter.getGapSeparator

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: