apache / apache/lucene

UnifiedHighlighter: add ability to delineate passes by max char size [LUCENE-7565]

Open
#8,616 1 comment 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major module:highlighter type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The Highlighter and FastVectorHighlighter can be configured to delineate passages using a target character length, that is then typically adjusted for the word boundary. This would be a good option to add to the UnifiedHighlighter (UH) in it's own right, as well as for better back-wards compatibility to those using this highlighter.

---
Migrated from [LUCENE-7565](https://issues.apache.org/jira/browse/LUCENE-7565) by David Smiley (@dsmiley)

Contributor guide

Open the contributing guide

Research direction

Start with the UnifiedHighlighter entry point and compare how Highlighter and FastVectorHighlighter configure passage delineation by target character length. Inspect the related highlighter tests, if present, and consider the work done when UnifiedHighlighter supports max-character passage sizing with word-boundary adjustment.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.