This Solr wiki page introduces a tool called SolrJ so you can use a limited number of classes to rock and roll in the Solr world, using Java.
Here is a screenshot of how I use 20 lines of code to index a document and query the data back at the same time.