Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Kamal Kishore Aggarwal
Hi, I have changed the code. But now it is showing the following errors: Caused by: java.lang.NoSuchMethodException: org.apache.lucene.analysis.ExtendedNameFilterFactory.init(java.util.Map) Here's the new java code : http://pastebin.com/J8q4JLgP A urgent help is appreciated. :) Thanks Kamal

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Alexandre Rafalovitch
Are you sure you are compiling with the same version of Java and Solr libraries that you are executing with? I would double-check your CLASSPATH for those two environments. Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread rulinma
normal, rewrite filter. -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-filter-not-working-with-solr-4-7-1-tp4136824p4139506.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Kamal Kishore Aggarwal
Even after making the same java version, it is not working. I am using java.​runtime.​version:1.7.0_55-b13 On Tue, Jun 3, 2014 at 2:05 PM, rulinma ruli...@gmail.com wrote: normal, rewrite filter. -- View this message in context:

Re: Custom filter not working with solr 4.7.1

2014-06-03 Thread Dmitry Kan
Kamal, Alexandre was pointing not to what java version you are compiling with, but what are the lucene and solr jar files you compile and run against. What is your build system -- ant or maven or ..? On Tue, Jun 3, 2014 at 2:03 PM, Kamal Kishore Aggarwal kkroyal@gmail.com wrote: Even

Re: Custom filter not working with solr 4.7.1

2014-05-21 Thread Kamal Kishore Aggarwal
Thanks Shawn for quick reply. I am trying to change the code (removing the errors from the code shown in image) will test the filter after that will update here. Thanks Kamal Kishore On Mon, May 19, 2014 at 10:17 PM, Shawn Heisey s...@elyograg.org wrote: On 5/19/2014 1:10 AM, Kamal Kishore

Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
Dear Team, I have created a custom filter factory for solr 4.2. It is working good. But when I am trying to upgarde solr-4.2 to 4.7 version, it is reporting errors. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] analyzer/filter: Error instantiating class:

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Alexandre Rafalovitch
I think the init method signatures changed. Just compare the same factory across two Solr versions and you will see. Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Mon, May 19, 2014 at 2:10

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
I am new to solr. I am not getting your answer. Can you please explain in more detail. On Mon, May 19, 2014 at 12:40 PM, Kamal Kishore Aggarwal kkroyal@gmail.com wrote: Dear Team, I have created a custom filter factory for solr 4.2. It is working good. But when I am trying to upgarde

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Kamal Kishore Aggarwal
I am new to solr. I am not getting your answer. Can you please explain in more detail. On Mon, May 19, 2014 at 4:02 PM, Kamal Kishore Aggarwal kkroyal@gmail.com wrote: I am new to solr. I am not getting your answer. Can you please explain in more detail. On Mon, May 19, 2014 at 12:40

Re: Custom filter not working with solr 4.7.1

2014-05-19 Thread Shawn Heisey
On 5/19/2014 1:10 AM, Kamal Kishore Aggarwal wrote: I have created a custom filter factory for solr 4.2. It is working good. But when I am trying to upgarde solr-4.2 to 4.7 version, it is reporting errors. Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml]