apache / apache/lucene

Highlighter based on Matches API [LUCENE-8349]

Open
#9,396 4 comments 0 reactions 1 assignee Claimed by @romseygeek View on GitHub
legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

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.

---
Migrated from [LUCENE-8349](https://issues.apache.org/jira/browse/LUCENE-8349) by Alan Woodward (@romseygeek), updated Jun 21 2018

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.