You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2011/04/11 08:43:05 UTC
[jira] [Commented] (SOLR-2276) Support for cologne phonetic
[ https://issues.apache.org/jira/browse/SOLR-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018217#comment-13018217 ]
Uwe Schindler commented on SOLR-2276:
-------------------------------------
Hi Marc,
to remove the unneeded cast leading to an unchecked warning, also calling static methods on instances is a no-go:
Replace:
{code}
clazz = (Class<? extends Encoder>) this.getClass().forName(name);
{code}
By:
{code}
clazz = Class.forName(name).asSubclass(Encoder.class);
{code}
> Support for cologne phonetic
> ----------------------------
>
> Key: SOLR-2276
> URL: https://issues.apache.org/jira/browse/SOLR-2276
> Project: Solr
> Issue Type: Improvement
> Components: Schema and Analysis
> Affects Versions: 1.4.1
> Environment: Apache Commons Codec 1.5
> Reporter: Marc Pompl
> Fix For: 4.0
>
> Attachments: ColognePhonetic-patch-with-reflection.txt
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> As soon as Apache Commons Codec 1.5 is released, support new encoder "ColognePhonetic" please.
> See JIRA for CODEC-106.
> It is fundamental for phonetic searches if you are indexing german names. Other indexers are optimizied for english (words).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org