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

Add Support for something different than Strings in Highlighting (FastVectorHighlighter)

    XMLWordPrintableJSON

Details

    • New

    Description

      In my application I need Highlighting and I stumbled upon the really neat FastVectorHighlighter. One problem appeared though. It lacks a way to render the Highlights into something different than Strings, so I rearranged some of the code to support that:

      https://github.com/Hotware/Lucene-Extension/blob/master/src/main/java/com/github/hotware/lucene/extension/highlight/FVHighlighterUtil.java

      Is there a specific reason to only support String[] as a return type? If not, I would be happy to write a new class that supports rendering into a generic Type and rewire that into the existing class (or just do it as an addition and leave the current class be).

      Attachments

        Activity

          People

            Unassigned Unassigned
            s4ke Martin Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: