lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: maxCodeLength in PhoneticFilterFactory
Date Sun, 12 Apr 2009 02:27:32 GMT
OK, should hopefully be fixed in trunk.


-Yonik
http://www.lucidimagination.com


On Sat, Apr 11, 2009 at 9:16 PM, Yonik Seeley <yonik@apache.org> wrote:
> There's definitely a bug - I just reproduced it.  Nothing obvious
> jumps out at me... and there's no error in the logs either (that's
> another bug it would seem).  Could you open a JIRA issue for this?
>
>
> -Yonik
> http://www.lucidimagination.com
>
>
>
> On Fri, Apr 10, 2009 at 6:54 PM, Brian Whitman <brian@echonest.com> wrote:
>> i have this version of solr running:
>>
>> Solr Implementation Version: 1.4-dev 747554M - bwhitman - 2009-02-24
>> 16:37:49
>>
>> and am trying to update a schema to support 8 code length metaphone instead
>> of 4 via this (committed) issue:
>>
>> https://issues.apache.org/jira/browse/SOLR-813
>>
>> So I change the schema to this (knowing that I have to reindex)
>>
>>        <filter class="solr.PhoneticFilterFactory" encoder="DoubleMetaphone"
>> inject="true" maxCodeLength="8"/>
>>
>> But when I do queries fail with
>>
>> Error_initializing_DoubleMetaphoneclass_orgapachecommonscodeclanguageDoubleMetaphone__at_orgapachesolranalysisPhoneticFilterFactoryinitPhoneticFilterFactoryjava90__at_orgapachesolrschemaIndexSchema$6initIndexSchemajava821__at_orgapachesolrschemaIndexSchema$6initIndexSchemajava817__at_orgapachesolrutilpluginAbstractPluginLoaderloadAbstractPluginLoaderjava149__at_orgapachesolrschemaIndexSchemareadAnalyzerIndexSchemajava831__at_orgapachesolrschemaIndexSchemaaccess$100IndexSchemajava58__at_orgapachesolrschemaIndexSchema$1createIndexSchemajava425__at_orgapachesolrschemaIndexSchema$1createIndexSchemajava410__at_orgapachesolrutilpluginAbstractPluginLoaderloadAbstractPluginLoaderjava141__at_orgapachesolrschemaIndexSchemareadSchemaIndexSchemajava452__at_orgapachesolrschemaIndexSchemainitIndexSchemajava95__at_orgapachesolrcoreSolrCoreinitSolrCorejava501__at_orgapachesolrcoreCoreContainer$InitializerinitializeCoreContainerjava121
>>
>

Mime
View raw message