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

Add PassageBuilder to help construct highlights using MatchesIterator

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/highlighter
    • None
    • 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
          28 kB
          Alan Woodward
        2. LUCENE-8401.patch
          19 kB
          Alan Woodward

        Activity

          People

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

            Dates

              Created:
              Updated: