Re: How to create solr custom filter

2017-02-08 Thread Andrea Gazzarini
Hi Mugeesh, my fault: a point is missing there, as suggested /"//*-ea *//was not specified but "/ // You need to add the "-ea" VM argument. If you are in Eclipse, /Run >> Run Configurations/ then in the dialog that appears, select the run configuration corresponding to that class (StartD

Re: How to create solr custom filter

2017-02-07 Thread Mugeesh Husain
thanks andrea for your help, I created few solr plugin that working fine, but still i am stuck to debug the code using eclipse, as you mentioned below url.http://andreagazzarini.blogspot.in/2016/11/quickly-debug-your-solr-add-on.htmlIn this url, i could not run the junit code, i couldn't run StartD

Re: How to create solr custom filter

2017-01-31 Thread Alexandre Rafalovitch
There is also Alba to help writing plugins: https://github.com/leonardofoderaro/alba Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 31 January 2017 at 00:10, Mugeesh Husain wrote: > thank you Alessandro and Andrea for your help! > > > > --

Re: How to create solr custom filter

2017-01-30 Thread Mugeesh Husain
thank you Alessandro and Andrea for your help! -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-create-solr-custom-filter-tp4317767p4317928.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to create solr custom filter

2017-01-30 Thread alessandro.benedetti
Hi Mugeesh, you don't really need the main method in any java class as a requirement for compilation ! Just take a look to building systems such as gradle[1] and maven[2]. Cheers [1] https://gradle.org [2]https://maven.apache.org -- View this message in context: http://lucene.472066.n3.nabbl

Re: How to create solr custom filter

2017-01-30 Thread Mugeesh Husain
Thank you so much Alessandro Benedetti, it really help me, that the things which i was looking for, one more thing I need to know, how to compile the class file without have main method. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-create-solr-custom-filter-tp43177

Re: How to create solr custom filter

2017-01-30 Thread Andrea Gazzarini
On top of what Alessandro already told you, here's a brief post [1] that can be useful for setting up your dev environment. HTH Andrea [1] http://andreagazzarini.blogspot.it/2016/11/quickly-debug-your-solr-add-on.html On 30/01/17 11:16, alessandro.benedetti wrote: Generally speaking I ass

Re: How to create solr custom filter

2017-01-30 Thread alessandro.benedetti
Generally speaking I assume you want to write a Solr plugin [1] ( or you are forking Solr instead?) So you need to package your jar. You can setup your IDE as you usually do, and use a building framework such as Maven/Gradle. After you have your jar you can easily import it in Solr, specifying the