You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/02/03 20:49:59 UTC

[jira] Commented: (LUCENE-1398) Add ReverseStringFilter

    [ https://issues.apache.org/jira/browse/LUCENE-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670080#action_12670080 ] 

Mark Miller commented on LUCENE-1398:
-------------------------------------

I like the idea of adding this, but I almost think it might best live in contrib. Thats slightly at odds with the prefix query addition - but I'm not sure that really helps you to integrate the solution generally into the query language anyway - it just reverses the term. I think it might be better to leave that to the user, as its likely to remain a special case anyway. I'd rather even do something like a util reverse method.

So I'll hold out for a wiser opinion, but my initial thought would be to not add to prefixquery, and put the the analyzer in contrib

> Add ReverseStringFilter
> -----------------------
>
>                 Key: LUCENE-1398
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1398
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Analysis
>            Reporter: Koji Sekiguchi
>            Priority: Trivial
>         Attachments: LUCENE-1398.patch
>
>
> add ReverseStringFilter and ReverseStringAnalyzer that can be used for backword much. For Example, "*ry", "*ing", "*ber".

-- 
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org