简体   繁体   English

整合Nutch和Solr

[英]Integrating Nutch and Solr

All, I am trying to integrate Nutch and Solr working together by following this guide 全部,我正在按照本指南尝试将NutchSolr整合在一起

Nutch version is 1.1 Solr version is 5.3.1 Nutch版本是1.1 Solr版本是5.3.1

When I tried to index the Nutch crawl result into the soly by running following command in the cygwin. 当我尝试通过在cygwin中运行以下命令将Nutch爬网结果编入索引时。

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

The command line is running without any exception. 命令行正在运行,没有任何异常。 But When I tried to run query in the Solr admin . 但是当我尝试在Solr admin中运行查询时。 Nothing can be searched . 什么都找不到。

在此处输入图片说明

I wondered if there is anything exception happened when index into Solr. 我想知道索引到Solr时是否发生任何异常。 But I checked the log of Solr . 但是我检查了Solr的日志。 Nothing happened. 没啥事儿。 Anything I missed? 我错过了什么吗?

您的Solr URL也应包括核心名称:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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