You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martin Braun (JIRA)" <ji...@apache.org> on 2014/11/13 21:37:35 UTC

[jira] [Created] (LUCENE-6061) Add Support for something different than Strings in Highligting

Martin Braun created LUCENE-6061:
------------------------------------

             Summary: Add Support for something different than Strings in Highligting
                 Key: LUCENE-6061
                 URL: https://issues.apache.org/jira/browse/LUCENE-6061
             Project: Lucene - Core
          Issue Type: Wish
          Components: core/search
    Affects Versions: Trunk
            Reporter: Martin Braun


In my application I need Highlighting and I stumpled 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/LuceneBeanExtension/blob/master/src/main/java/de/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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org