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

UnifiedHighlighter: Make Passage public for extensibility

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: modules/highlighter
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      (UnifiedHighlighter) Passage.java has a variety of package-level fields and methods that are accessed by FieldHighlighter.highlightOffsetsEnums (the kernel of the UH). It should be possible for people to extend this method to tweak the process of producing passages. That method is extensible but Passage.java is too closed. Even if one were to write their own equivalent to Passage.java, it would be impossible to then use PassageScorer or PassageFormatter.

        Attachments

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              dsmiley David Smiley

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment