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
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
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!
>
>
>
> --
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.
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
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
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
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