[ https://issues.apache.org/jira/browse/SOLR-10538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Reh updated SOLR-10538: --------------------------- Description: 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(). was: 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(). > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org