[
https://issues.apache.org/jira/browse/LUCENE-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744023#action_12744023
]
Robert Muir commented on LUCENE-1813:
-------------------------------------
Ted, with the current patch you can do this: new ReverseStringFilter('\u200E'),
or new ReverseStringFilter('\u200F'), or new ReverseStringFilter('\u0001'), or
whatever.
Also, for anyone using this filter its my understanding that each term in
lucene's term dictionary is a "delta" versus the previous term, so the
character you choose should not affect its size?
> 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
> Fix For: 2.9
>
> Attachments: LUCENE-1813.patch, reverseMark-2.patch, 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: [email protected]
For additional commands, e-mail: [email protected]