[ https://issues.apache.org/jira/browse/LUCENE-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743743#action_12743743 ]
Andrzej Bialecki commented on LUCENE-1813: ------------------------------------------- Either way is fine with me. To preserve the public API I think it's better to move this marking logic to incrementToken(). I'll prepare an updated patch. > Add option to ReverseStringFilter to mark reversed tokens > --------------------------------------------------------- > > Key: LUCENE-1813 > URL: https://issues.apache.org/jira/browse/LUCENE-1813 > Project: Lucene - Java > Issue Type: Improvement > Components: contrib/analyzers > Affects Versions: 2.9 > Reporter: Andrzej Bialecki > Assignee: Robert Muir > Attachments: reverseMark.patch > > > This patch implements additional functionality in the filter to "mark" > reversed tokens with a special marker character (Unicode 0001). This is > useful when indexing both straight and reversed tokens (e.g. to implement > efficient leading wildcards search). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org