You could implement a Data Import Handler "EntityProcessor". There are at least 5 implementations I can see for you to learn from that come with Solr. If Solr truly doesn't need to be up and running as a server to serve any queries, then EmbeddedSolrServer will be fine.
~ David Smiley Author: http://www.packtpub.com/solr-1-4-enterprise-search-server On 8/26/09 1:29 PM, "Paul Tomblin" <ptomb...@xcski.com> wrote: On Wed, Aug 26, 2009 at 1:22 PM, Smiley, David W.<dsmi...@mitre.org> wrote: > SolrEmbeddedSolrServer is something that few people should actually use. > It's mostly for embedding Solr without running Solr as a server, which is a > somewhat rare need. I have a background app that's inserting thousands of documents into Solr, and it seems like it would be a lot more efficient to do that directly instead of handing the documents off to a web server that otherwise isn't doing anything else. -- http://www.linkedin.com/in/paultomblin