简体   繁体   中英

Solr error on full-import

Im trying to get a test running with solr, a "full-import" from Ms Sql server.

when calling:

http://localhost:8983/solr/dataimport?command=full-import

I receive an http 404 error

Problem accessing /solr/dataimport. Reason: Not Found

This dosent help me much. Is there a way to debug or a way to receive more detail?

You don't have the dataimport handler configured in your solrconfig. Check the documentation, is just matter of copy and paste

Try restarting solr.

You could also try:

http://localhost:8983/solr/dataimport?command=full-import&clean=true

EDIT:

Though my guess is that your data-config, solrconfig, and solr xml files are just not configured correctly. I would look into these files as well. Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM