You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2020/09/02 10:23:00 UTC

[jira] [Commented] (LUCENE-9464) Add high(er)-level hit highlighter example that demonstrates and uses low-level components

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

Dawid Weiss commented on LUCENE-9464:
-------------------------------------

Hi Alan ([~romseygeek]). Finally got down to writing something that would be end-user usable and would at the same time showcase those match highlighter components. I didn't want to make the "MatchHighlighter" too simple because then it wouldn't show all the advantages of using this code. I also didn't want to make it too complex because it's not the point (if you need something really complex, you'd use those low-level components directly rather than jump through hoops to make the high-level highlighter work for you).

Please feel free to review when you have time. I think the best start would be test [1], which takes you step-by-step trough various scenarios.

Let me know what you think.

[1] https://github.com/dweiss/lucene-solr/blob/LUCENE-9464/lucene/highlighter/src/test/org/apache/lucene/search/matchhighlight/TestMatchHighlighter.java#L118-L400


> Add high(er)-level hit highlighter example that demonstrates and uses low-level components
> ------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-9464
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9464
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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