How to import data from mysql to solr

后端 未结 3 1555
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-07 04:34

I am trying to do the full db import using below URL

    `127.0.0.1:8983/solr/dataimport?command=full-import`

I installed solr and trying t

相关标签:
3条回答
  • 2021-01-07 05:11

    I have a functioning Data Import Handler and you can compare configs with me if necessary http://amac4.blogspot.co.uk/2013/08/configuring-solr-4-data-import-handler.html

    0 讨论(0)
  • 2021-01-07 05:26

    In case the core you address is not your default core, your request is lacking the core's name in the URL. You should request should be like this

    127.0.0.1:8983/solr/<core-name>/dataimport?command=full-import

    There you need to replace the <core-name> with the actual name of your core, as configured in your solr.xml.

    0 讨论(0)
  • I used below command to run sorl server for DIH.

    java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar

    and I did the full import using below URL, it solved my problem.

    http://127.0.0.1:8983/solr/db/dataimport?command=full-import
    
    0 讨论(0)
提交回复
热议问题