Re: Unable to create collection with custom queryParser Plugin

2019-02-11 Thread Aroop Ganguly
Thanks Erick, Jörn danke sehr. tldr; gradle trickery and thriftiness helped here. detail: To make things easier, for our deployment systems, I created a plugin gradle task which is economical and yet brings in the right number of jars. in my case scala-lang jars were required, everything else wa

Re: Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Erick Erickson
What Jörn said. Your jar should be nothing but your custom code. Usually I cheat in IntelliJ and check the box for artifacts that says something like "only compiled output" On Sun, Feb 10, 2019 at 10:37 PM Jörn Franke wrote: > > You can put all solr dependencies as provided. They are already

Re: Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Jörn Franke
You can put all solr dependencies as provided. They are already on the class path - no need to put them in the fat jar. > Am 11.02.2019 um 05:59 schrieb Aroop Ganguly : > > Thanks Erick! > > I see. Yes it is a fat jar post shadowJar process (in the order of MBs). > It contains solrj and solr-co

Re: Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Aroop Ganguly
Thanks Erick! I see. Yes it is a fat jar post shadowJar process (in the order of MBs). It contains solrj and solr-core dependencies plus a few more scala related ones. I guess the solr-core dependencies are unavoidable (right ?), let me try to trim the others. Regards Aroop > On Feb 10, 2019, a

Re: Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Erick Erickson
Aroop: How big is your custom jar file? The name "test-plugins-aroop-all.jar" makes me suspicious. It should be very small and should _not_ contain any of the Solr distribution jar files, just your compiled custom code. I'm grasping at straws a bit, but it may be that you have the same jar files f

Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Aroop Ganguly
[resending due to bounce warning from the other email] Hi Team I thought this was simple, but I am just missing something here. Any guidance would be very appreciated. What have I done so far: 1. I have created a custom querParser (class SamplePluggin extends QParserPlugin { ), which

Unable to create collection with custom queryParser Plugin

2019-02-10 Thread Aroop Ganguly
Hi Team I thought this was simple, but I am just missing something here. Any guidance would be very appreciated. What have I done so far: 1. I have created a custom querParser (class SamplePluggin extends QParserPlugin { ), which right now does nothing but logs an info message, and ret