Re: Native library of plugin is loaded for every core

2015-05-28 Thread adfel70
Works as expected :) Thanks guys! -- View this message in context: http://lucene.472066.n3.nabble.com/Native-library-of-plugin-is-loaded-for-every-core-tp4207996p4208372.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Native library of plugin is loaded for every core

2015-05-27 Thread Alan Woodward
Does it work if you load it via the solr home /lib directory, rather than from the /lib directory of each individual core? Alan Woodward www.flax.co.uk On 27 May 2015, at 08:45, adfel70 wrote: Hi guys, need your help: I added a custom plugins to Solr, to support my applicative needs (one

Re: Native library of plugin is loaded for every core

2015-05-27 Thread Upayavira
In your solr home directory, create a lib directory, and put your jar there. Then you wont have to declare it in solrconfig.xml. That's what Alan is suggesting. Upayavira On Wed, May 27, 2015, at 09:39 AM, adfel70 wrote: Hi Alan, thanks for the reply. I am not sure what did you mean. Currently

Re: Native library of plugin is loaded for every core

2015-05-27 Thread adfel70
Hi Alan, thanks for the reply. I am not sure what did you mean. Currently it is loaded from solrconfig.xml lib dir =/path_to_plug_dir/, regex=*.jar / Is there any other way? -- View this message in context:

Native library of plugin is loaded for every core

2015-05-27 Thread adfel70
Hi guys, need your help: I added a custom plugins to Solr, to support my applicative needs (one index handler and 2 search components), all of them access a native library using JNI. The native library wrapper class loads the library using the regular pattern: public class YWrapper{