[
https://issues.apache.org/jira/browse/SOLR-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley updated SOLR-813:
-------------------------------
Attachment: SOLR-813.patch
oops, last patch had a bug if the stream ended in a non-phonetic value:
{code:java}
if( !isPhonetic ) {
t = next(in);
if( t != null ) {
t.setPositionIncrement( t.getPositionIncrement()+1 );
}
return t;
}
{code}
> 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
> Assignee: Ryan McKinley
> Priority: Minor
> Attachments: SOLR-813.patch, SOLR-813.patch, 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.