: In looking at the code, it looks like it'd be difficult to do this : without actually doing an HTTP POST. Or is there a clean way to : leverage Solr's infrastructure without POSTing into it? I don't even : need Solr running while indexing. Is this possible easily? If so : what API should I be using?
To answer your implicit question: in the past the only recommended/supported way to get documents into Solr was by POSTing <add> document messages. I know Yonik has wanted to make it easier it easier, having a client library that uses the SolrCore directly seems like a good start. I would think it should even be relatively easy to make it take in org.apache.lucene.document.Document objects right? ... they're mainly just beans (that sometimes have Readers). -Hoss