lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-1813) Add option to ReverseStringFilter to mark reversed tokens
Date Sat, 15 Aug 2009 17:09:14 GMT


Robert Muir commented on LUCENE-1813:

andrzej, the reverse() methods are public, can you supply default impls (withMark=false) just
in the case that someone is using them?

alternatively, maybe the reverse() methods could stay the same, and the marking could happen
in incrementToken() ?

> Add option to ReverseStringFilter to mark reversed tokens
> ---------------------------------------------------------
>                 Key: LUCENE-1813
>                 URL:
>             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:
For additional commands, e-mail:

View raw message