Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.1, 6.3, 6.4.1
-
None
-
New
Description
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());
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-7719 UnifiedHighlighter doesn't handle some AutomatonQuery's with multi-byte chars
- Resolved