[ 
https://issues.apache.org/jira/browse/SOLR-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12640640#action_12640640
 ] 

Todd Feak commented on SOLR-813:
--------------------------------

Other DoubleMetaphone specific calls are made in the filter. Specifically, it 
checks to see if there is an alternate encoding for the token, and adds that to 
the stream as well, if it's different then the default encoding. This is part 
of the strength of the DoubleMetaphone implementation that the Phonetic filter 
doesn't leverage.

An additional change that I made that *could* be done in the Phonetic filter is 
blocking empty tokens that are generated on non-alpha strings. This just wraps 
them all.

> Add new DoubleMetaphone Filter and Factory
> ------------------------------------------
>
>                 Key: SOLR-813
>                 URL: https://issues.apache.org/jira/browse/SOLR-813
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Todd Feak
>            Priority: Minor
>         Attachments: SOLR-813.patch
>
>
> The existing PhoneticFilter allows for use of the DoubleMetaphone encoder. 
> However, it doesn't expose the maxCodeLength() setting, and it ignores the 
> alternate encodings that the encoder provides for some words. This new filter 
> is not as generic as the PhoneticFilter, but allows more detailed control 
> over the DoubleMetaphone encoder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to