[ https://issues.apache.org/jira/browse/LUCENE-7717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888945#comment-15888945 ]
Ishan Chattopadhyaya commented on LUCENE-7717: ---------------------------------------------- [~dsmiley], I don't mind including this fix, if you think this is a low risk fix and should be included. Feel free to backport this one to the release branch. I'm anyway waiting for SOLR-10215 as of now. > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org