Re: plugging an analyzer

2016-02-03 Thread Roxana Danger
Hi Scott, I have everything well configured but no parameters can be passed to an Analyzer (FieldTypePluginLoader just calls the constructor without parameters). So, the quick solution is to create a TokenizerFactory instead. Thanks, Roxana On 2 February 2016 at 16:29, Scott Stults wrote: > T

Re: plugging an analyzer

2016-02-02 Thread Scott Stults
There are a lot of things that can go wrong when you're wiring up a custom analyzer. I'd first check the simple things: * Custom jar is in Solr's classpath * Not using the custom factory in a field type's analysis chain * Not declaring a field with that type * Not using that field in a document *

plugging an analyzer

2016-02-02 Thread Roxana Danger
Hello, I would like to use some code embedded on an analyser. The problem is that I need to pass some parameters for initializing it. My though was to create a plugin and initialize the parameters with the init( Map args ) or init( NamedList args ) methods as explained in http://wiki.apache.org/sol