I have a main solr server(solr1) which stores indexes of all docs, and want to implement the following function: 1. First make a full import of my doc updated/created recently(last 1 or 2 weeks) from solr1. 2. Make delta import at intervals to copy the change of my doc from solr1 to solr2. - doc may be deleted, updated, created during this period.
-- as the function supported by SqlEntityProcessor to import data from DB to Solr. http://wiki.apache.org/solr/DataImportHandler#SolrEntityProcessor SolrEntityProcessor can make a full-import from one Solr to another solr based on a query(using query parameter in config file), but seems can't do delta import later: no deltaImportQuery and deltaQuery configuration, which is supported in SqlEntityProcessor. I have a field last_modified which records the timestamp an doc is created or updated. Task1 can be easily implemented: <entity name="sep" processor="SolrEntityProcessor" query="+from:jeffery +last_modified:[${dataimporter.request.start_time} TO NOW]" url="mainsolr:8080/solr/"/>; But how can implement incremental import with SolrEntityProcessor? Seems SolrEntityProcessor doesn't support "command=delta-import". Thanks for any reply and help :) -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-import-a-part-of-index-from-main-Solr-server-based-on-a-query-to-another-Solr-server-and-then-tp4013479.html Sent from the Solr - User mailing list archive at Nabble.com.