Dmitry Malinin created LUCENE-7717:
--------------------------------------
Summary: 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.4.1, 6.3
Reporter: Dmitry Malinin
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]