[
https://issues.apache.org/jira/browse/LUCENE-7729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amrit Sarkar updated LUCENE-7729:
---------------------------------
Attachment: LUCENE-7729.patch
LUCENE-7729.patch uploaded:
{noformat}
modified:
lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java
modified:
lucene/highlighter/src/test/org/apache/lucene/search/postingshighlight/TestCustomSeparatorBreakIterator.java
modified:
lucene/highlighter/src/test/org/apache/lucene/search/uhighlight/LengthGoalBreakIteratorTest.java
modified:
solr/core/src/java/org/apache/solr/highlight/PostingsSolrHighlighter.java
modified:
solr/core/src/java/org/apache/solr/highlight/UnifiedSolrHighlighter.java
modified:
solr/core/src/test/org/apache/solr/highlight/TestPostingsSolrHighlighter.java
modified:
solr/core/src/test/org/apache/solr/highlight/TestUnifiedSolrHighlighter.java
{noformat}
[~dsmiley] here is our string type separator for Custom break iterator. I used
char-by-char strings matching technique.
The patch can be applied on current updated branch. Thank you.
> Support for string type separator for CustomSeparatorBreakIterator
> ------------------------------------------------------------------
>
> Key: LUCENE-7729
> URL: https://issues.apache.org/jira/browse/LUCENE-7729
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/highlighter
> Reporter: Amrit Sarkar
> Attachments: LUCENE-7729.patch
>
>
> LUCENE-6485: currently CustomSeparatorBreakIterator breaks the text when the
> _char_ passed is found.
> Improved CustomSeparatorBreakIterator; as it now supports separator of string
> type of arbitrary length.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]