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

Duplicating a Solr Doc

2010-08-25 Thread Max Lynch
Right now I am doing some processing on my Solr index using Lucene Java. Basically, I loop through the index in Java and do some extra processing of each document (processing that is too intensive to do during indexing). However, when I try to update the document in solr with new fields (using

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);