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

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

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

JIRA jira@apache.org

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

Uwe Reh updated SOLR-10538:
    Attachment: bmf.patch

> 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

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]