Clean up Double Metaphone code (PhoneticFilterFactory and DoubleMetaphoneFilter)
--------------------------------------------------------------------------------
Key: SOLR-2393
URL: https://issues.apache.org/jira/browse/SOLR-2393
Project: Solr
Issue Type: Improvement
Affects Versions: 4.0
Reporter: Bill Bell
>From Ryan McKinley to Jan Høydahl:
PhoneticFilterFactory could check
"DoubleMetaphone".equals( encoder ) and then create the specialized
Filter.
I don't feel strongly, but we could have:
EncoderFilter -- just uses 'encode()'
DoubleMetaphoneFilter - uses special double metaphone stuff
EncoderFilterFactory -- always uses EncoderFilter, and is not
semantically bound to 'phonetic'
PhoneticFilterFactory -- picks the best phonetic filter impl (encoder
or double metaphone)
then deprecate:
PhoneticFilter
DoubleMetaphoneFilterFactory
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]