lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7559) UnifiedHighlighter: Make Passage public for extensibility
Date Thu, 17 Nov 2016 16:25:58 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15674138#comment-15674138
] 

ASF subversion and git services commented on LUCENE-7559:
---------------------------------------------------------

Commit 06ee34c68225fd904b8909af44173574890d881e in lucene-solr's branch refs/heads/branch_6x
from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=06ee34c ]

LUCENE-7559: fix indentation of entire file

(cherry picked from commit cbc8392)


> UnifiedHighlighter: Make Passage public for extensibility
> ---------------------------------------------------------
>
>                 Key: LUCENE-7559
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7559
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/highlighter
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: LUCENE-7559.patch
>
>
> (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.



--
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


Mime
View raw message