Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0-ALPHA
-
None
-
None
-
None
Description
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