: Well, there is the EmbeddedSolrServer - Solr runs totally fine as a pure Java : API. It can also be embedded in your own web apps without having Solr as a : standalone service.
and the starting point... http://wiki.apache.org/solr/Solrj IIRC: the API for monitoring/admining DataImportHandler isn't currently very SOlrJ friendly, but it can still be used even in an embedded context. -Hoss