Re: maxCodeLength in PhoneticFilterFactory

2009-04-12 Thread Brian Whitman
yep, that did it. Thanks very much yonik.


On Sat, Apr 11, 2009 at 10:27 PM, Yonik Seeley
yo...@lucidimagination.comwrote:

 OK, should hopefully be fixed in trunk.


 -Yonik
 http://www.lucidimagination.com


 On Sat, Apr 11, 2009 at 9:16 PM, Yonik Seeley yo...@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 br...@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
 
 



Re: maxCodeLength in PhoneticFilterFactory

2009-04-11 Thread Yonik Seeley
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 br...@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



Re: maxCodeLength in PhoneticFilterFactory

2009-04-11 Thread Yonik Seeley
OK, should hopefully be fixed in trunk.


-Yonik
http://www.lucidimagination.com


On Sat, Apr 11, 2009 at 9:16 PM, Yonik Seeley yo...@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 br...@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




maxCodeLength in PhoneticFilterFactory

2009-04-10 Thread Brian Whitman
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