You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Reh (JIRA)" <ji...@apache.org> on 2017/04/23 21:15:04 UTC

[jira] [Issue Comment Deleted] (SOLR-10538) Phonetic Filter BM should respect the keyword attribute

     [ https://issues.apache.org/jira/browse/SOLR-10538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Reh updated SOLR-10538:
---------------------------
    Comment: was deleted

(was: master (7.0))

> Phonetic Filter BM should respect the keyword attribute
> -------------------------------------------------------
>
>                 Key: SOLR-10538
>                 URL: https://issues.apache.org/jira/browse/SOLR-10538
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>            Reporter: Uwe Reh
>            Priority: Minor
>              Labels: keyword, patch
>         Attachments: bmf.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> In some cases it is necessary to index unchanged keywords and phonetic mapped text in just one field. In my example it is needed, to add ids in the form "prefix<letters>+number<digits>"
> The current implementation of the BeiderMorseFilter strips the digits and maps the remaining letters. As result, all ids with the same prefix become equal. :-(
> To avoid this, the BeiderMorseFilter should respect the keyword attribute.
> I prepared a patch for the implementation and the test class, which adds the evaluation of keywordAtt.isKeyword().
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org