Problem is resolved now .
Thanks a lot Erick .! :)
Will catch you in next problem soon :) . You have saved a lot of time
for me .
On Thu, Nov 9, 2017 at 2:06 AM, Erick Erickson
wrote:
> Why are you extending TokenizerFactory? What you have is a filter
> factory which should extend TokenFi
Why are you extending TokenizerFactory? What you have is a filter
factory which should extend TokenFilterFactory and optionally be
MultiTermAware. I'd use LowerCaseFitlerFactory as a model. Tokenizers
break up the incoming stream, filters do something with the tokens
emitted by the tokenizer.
On W
Very much thanks for reply Erick !
Now ClassCastException is gone . It have corrected my fault .
So I am loading plugin correctly because is not giving me no class found
exception
in solrconfig.xml
in managed-schema
Now I am facing new error that is foll
OK, if you're compiling and running against the same versions, then
that error means that you haven't set your paths correctly so Solr can
find your custom jar. In solrconfig.xml you should add a
directive that points to your custom jar file.
I usually start by using an absolute path here until I
Hi Erick
I am very happy to see your reply .
It was mistakenly written 5.4.1 in last mail . I am developing plugin in
solr-5.2.1 .
i am compiling jars and executing for the same version i.e. 5.2.1 , yet i
am getting following error
Caused by: org.apache.solr.common.SolrException: Plugin init fa
Looks to me like you're compiling against the jars from one version of
Solr and executing against another.
/root/solr-5.2.1/server/solr/#/conf/managed-schema
yet you claim to be using 5.4.1
On Tue, Nov 7, 2017 at 12:00 PM, kumar gaurav wrote:
> Hi
>
> I am developing my own custom filter in
Hi
I am developing my own custom filter in solr 5.4.1.
I have created a jar of a filter class with extend to TokenizerFactory
class .
When i loaded in to sol config and add my filter to managed-schema , i
found following error -
org.apache.solr.common.SolrException: Could not load conf for core