Technically it would be possible for the PhoneticFilterFactory to return a DoubleMetaphoneFilter for that specific case. Otherwise it would be better to just remove support for DoubleMetaphone from the PhoneticFilterFactory and refer to the specialized factory?
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 25. feb. 2011, at 10.07, Jan Høydahl wrote: > Then it's funny that only the PhoneticFilter is mentioned on the WIKI while > the DoubleMetaphone is not? > > What would be the correct way to resolve this mismatch aside from fixing the > documentation? > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > On 24. feb. 2011, at 18.10, Ryan McKinley wrote: > >>> >>> Is this difference on purpose? >> >> If I were to do it again... 'PhoneticFilter' should really be >> EncoderFilter since it just uses the encoder API to generate tokens. >> There is nothing specific to 'phonetic' -- In fact, when I implement >> KStem, I use the PhoneticFilter?! >> https://issues.apache.org/jira/browse/SOLR-379?focusedCommentId=12934562&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12934562 >> >> DoubleMetaphone however uses the DoubleMetaphone API and generatates >> special tokens based on that. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org >> For additional commands, e-mail: dev-h...@lucene.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org