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/21 14:29:04 UTC
[jira] [Created] (SOLR-10538) Phonetic Filter BM should respect the
keyword attribute
Uwe Reh created SOLR-10538:
------------------------------
Summary: 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
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