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 location in the solrconfig.xml.
[1] https://wiki.apache.org/solr/SolrPlugins, http://shulhi.com/creating-solr-plugin/ -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-create-solr-custom-filter-tp4317767p4317784.html Sent from the Solr - User mailing list archive at Nabble.com.