You might be out of luck with the SolrEntityProcessor.... I'd recommend writing 
a simple little script that pages through /select?q=*:* from the source Solr 
and write to the destination Solr.   Back in the day there was this fun little 
beast 
<https://github.com/erikhatcher/solr-ruby-flare/blob/master/solr-ruby/lib/solr/importer/solr_source.rb>
 where you could do something like this:

   Solr::Indexer.new(SolrSource.new(...), mapping).index

        Erik


On Apr 23, 2013, at 13:41 , P Williams wrote:

> Hi,
> 
> I'd like to use the SolrEntityProcessor to partially migrate an old index
> to Solr 4.1.  The source is pretty old (dated 2006-06-10 16:05:12Z)...
> maybe Solr 1.2?  My data-config.xml is based on the SolrEntityProcessor
> example <http://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor>
> and wt="xml".
> I'm getting an error from SolrJ complaining about
> <responseHeader>
> <status>0</status>
> <QTime>1</QTime>
> </responseHeader>
> in the response.  Does anyone know of a work-around?
> 
> Thanks,
> Tricia
> 
> 1734 T12 C0 oasc.SolrException.log SEVERE Exception while processing: sep
> document :
> SolrInputDocument[]:org.apache.solr.handler.dataimport.DataImportHandlerException:
> org.apache.solr.common.SolrException: parsing error
> Caused by: org.apache.solr.common.SolrException: parsing error
> Caused by: java.lang.RuntimeException: this must be known type! not:
> responseHeader
> at
> org.apache.solr.client.solrj.impl.XMLResponseParser.readNamedList(XMLResponseParser.java:222)
> at
> org.apache.solr.client.solrj.impl.XMLResponseParser.processResponse(XMLResponseParser.java:128)
> ... 43 more

Reply via email to