Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Hide
        Michael McCandless added a comment -

        +1

        Maybe instead of getSeparatorGap name it something like getMultiValuedSeparator or something?

        Show
        Michael McCandless added a comment - +1 Maybe instead of getSeparatorGap name it something like getMultiValuedSeparator or something?
        Hide
        Robert Muir added a comment -

        updated patch: thanks Mike.

        Show
        Robert Muir added a comment - updated patch: thanks Mike.
        Hide
        ASF subversion and git services added a comment -

        Commit 1498945 from Robert Muir
        [ https://svn.apache.org/r1498945 ]

        LUCENE-5087: Add getMultiValuedSeparator to PostingsHighlighter

        Show
        ASF subversion and git services added a comment - Commit 1498945 from Robert Muir [ https://svn.apache.org/r1498945 ] LUCENE-5087 : Add getMultiValuedSeparator to PostingsHighlighter
        Hide
        ASF subversion and git services added a comment -

        Commit 1498949 from Robert Muir
        [ https://svn.apache.org/r1498949 ]

        LUCENE-5087: Add getMultiValuedSeparator to PostingsHighlighter

        Show
        ASF subversion and git services added a comment - Commit 1498949 from Robert Muir [ https://svn.apache.org/r1498949 ] LUCENE-5087 : Add getMultiValuedSeparator to PostingsHighlighter
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development