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
or indirect dependency, and here there's no a magic rule for determining
which version of such dependency you would need. So again: please use
Maven (or Gradle).
About the second point: generally speaking, if you're targeting Solr
6.6.1 your plugin will live in that context, with all the beauties
coming with the 6.6.1 version. And here, you can imagine why you cannot
use something that is not yet there, something that will be implemented
in a later version.
On top of that, if you meant the TokenStream.incrementToken method
please check better: this is part of the core Lucene API and unless I
didn't get you, you will find it also in past versions.
Best,
Andrea
On 24/06/18 14:35, Zahra Aminolroaya wrote:
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