Re: Duplicating a Solr Doc

2010-08-27 Thread Lance Norskog
On further investigation: DocumentBuilder.loadStoredFields() is used in one utility function which is only called from one unit test. This should be considered dead code. Don't use it. SolrPluginUtils.docListToSolrDocument() SolrPluginUtilsTest.testDocListConversion() On Wed, Aug 25, 2010 at 9:

Re: Duplicating a Solr Doc

2010-08-25 Thread Max Lynch
It seems like this is a way to accomplish what I was looking for: CoreContainer coreContainer = new CoreContainer(); File home = new File("/home/max/packages/test/apache-solr-1.4.1/example/solr"); File f = new File(home, "solr.xml"); coreContainer.load("/home/max/packages/