[
https://issues.apache.org/jira/browse/LUCENE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889612#comment-15889612
]
ASF subversion and git services commented on LUCENE-7717:
---------------------------------------------------------
Commit 7467c369aaae5c17584360d57a3e6226ac57d817 in lucene-solr's branch
refs/heads/branch_6_4 from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7467c36 ]
LUCENE-7717: UnifiedHighlighter and PostingsHighlighter bug in PrefixQuery and
TermRangeQuery for multi-byte text
(cherry picked from commit d9a2c64)
> UnifiedHighlighter don't work with russian PrefixQuery
> ------------------------------------------------------
>
> Key: LUCENE-7717
> URL: https://issues.apache.org/jira/browse/LUCENE-7717
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/highlighter
> Affects Versions: 6.3, 6.4.1
> Reporter: Dmitry Malinin
> Assignee: David Smiley
> Attachments: LUCENE-7717.patch, LUCENE-7717.patch
>
>
> UnifiedHighlighter highlighter = new UnifiedHighlighter(null, new
> StandardAnalyzer());
> Query query = new PrefixQuery(new Term("title", "я"));
> String testData = "я";
> Object snippet = highlighter.highlightWithoutSearcher(fieldName, query,
> testData, 1);
> System.out.printf("testData=[%s] Query=%s snippet=[%s]\n", testData, query,
> snippet==null?null:snippet.toString());
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]