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

Add PassageBuilder to help construct highlights using MatchesIterator

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Jim and I discussed a while back the idea of adding highlighter components, rather than a fully-fledged highlighter, which would allow users to build their own specialised highlighters.  To that end, I'd like to add a PassageBuilder class that uses the Matches API to break text up into passages containing hits.

        Attachments

        1. LUCENE-8401.patch
          19 kB
          Alan Woodward
        2. LUCENE-8401.patch
          28 kB
          Alan Woodward

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              romseygeek Alan Woodward
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: