You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/06/06 14:25:00 UTC

[jira] [Commented] (LUCENE-8349) Highlighter based on Matches API

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

Alan Woodward commented on LUCENE-8349:
---------------------------------------

Here's a pull request with my first sketch: https://github.com/apache/lucene-solr/pull/397

It's very minimal, needs lots of javadocs and testing, and doesn't score passages yet, but it should give an idea of what I'm trying to do.

> Highlighter based on Matches API
> --------------------------------
>
>                 Key: LUCENE-8349
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8349
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>
> I started trying to integrate the Matches API into the UnifiedHighlighter, but there's a fairly heavy impedance mismatch between the way the two of them work (eg Matches doesn't give you freqs, it's entirely lazy, the UH tries to do things by field rather than by doc).  So instead, I thought I'd try and write a new highlighter based around Matches, and see what it looks like.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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