Integration between Nutch 1.11(1.x) and Solr 5.3.1(5.x)

我的梦境 提交于 2019-12-04 09:22:41

Instead, Try this statement to integrate solr and nutch

bin/nutch solrindex http://127.0.0.1:8983/solr/ crawl/crawldb -linkdb crawl/linkdb crawl/segments/

Have you tried specifying the Solr URL using:

-D solr.server.url=http://localhost:8983/solr/files

instead of the -params approach? At least this is the right syntax for the crawl script. And since both invoke an underline java class to do the work should work.

bin/nutch index crawl/crawldb \
-linkdb crawl/linkdb \
-D solr.server.url=http://127.0.0.1:8983/solr/files \
-dir crawl/segments
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!