Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10538

Phonetic Filter BM should respect the keyword attribute

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Schema and Analysis

    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().

      Attachments

        1. bmf.patch
          6 kB
          Uwe Reh

        Activity

          People

            Unassigned Unassigned
            uwe reh Uwe Reh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified