Re: Error in solr Plugin

2018-06-25 Thread Zahra Aminolroaya
Thanks Andrea and Erick -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Error in solr Plugin

2018-06-24 Thread Erick Erickson
bq. The lucene-core7 had some useful functions like incrementToken which I could not find in previous versions because of that I used this version. Do not do this. You simply cannot mix jar versions because there was a function in the old version that you want to use. The support for that functi

Re: Error in solr Plugin

2018-06-24 Thread Andrea Gazzarini
Hi, I mean you should use Maven which would pickup, starting from a number (e.g. 6.6.1), all the correct dependencies you need for developing the plugin. Yes, the "top" libraries (e.g. Solr and Lucene) should have the same version but on top of that, the plugin could require some other direct

Re: Error in solr Plugin

2018-06-24 Thread Zahra Aminolroaya
Thanks Andrea. Do you mean all of my jar file versions should be 6.6.1? The lucene-core7 had some useful functions like incrementToken which I could not find in previous versions because of that I used this version. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Error in solr Plugin

2018-06-24 Thread Andrea Gazzarini
Hi Zahra, I think your guessing it's right: I see some mess in libraries versions. If I got you * the target platform is Solr 6.6.1 * the compile classpath includes solr-core-4.1.0, 1.4.0 (!) and lucene 7.4.0? If that is correct, with a ClassCastException you're just scraping the surface