apache / apache/lucene

Support for string type separator for CustomSeparatorBreakIterator [LUCENE-7729]

Open
#8,780 10 comments 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

#7544: currently CustomSeparatorBreakIterator breaks the text when the _char_ passed is found.

Improved CustomSeparatorBreakIterator; as it now supports separator of string type of arbitrary length.

---
Migrated from [LUCENE-7729](https://issues.apache.org/jira/browse/LUCENE-7729) by Amrit Sarkar, updated Apr 02 2017
Attachments: [LUCENE-7729.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7729/LUCENE-7729.patch) (versions: 2)
Linked issues:
- [SOLR-10153](https://issues.apache.org/jira/browse/SOLR-10153)

Contributor guide

Open the contributing guide

Research direction

Locate CustomSeparatorBreakIterator and read the attached LUCENE-7729.patch to understand the current character-separator behavior. Confirm how separator strings of arbitrary length should be handled, then add or update the relevant coverage so completion demonstrates string separators work without losing existing character behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.