Hi 

 How to import data from one solr core to another using request handler and
data-config.xml?
In solr-config.xml : I included this in target collection,

<requesthandler class="org.apache.solr.handler.dataimport.DataImportHandler"
name="/dataimport">
    <lst name="defaults">
        <str name="config">/root/Desktop/vidya/solr-data-config.xml</str>
    </lst>
</requesthandler>

And solr-data-config.xml in the path as mentioned in request handler class
<dataconfig>
  <document>
    <entity name="sep" processor="SolrEntityProcessor" query="*:*"
url="http://localhost:8983/solr/";>
    </entity>
  </document>
</dataconfig>

Then i reloaded the collection and executed this query
http://10.138.90.227:8983/solr/#/student_shard1_replica1/dataimport?command=full-import

But i got an error as "NO DATA IMPORT HANDLER IS DEFINED"

What is the query to fully import data from source to target?

Thanks in advance




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Import-data-from-one-core-to-another-tp4254590.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to