HBase的集成持有Nutch的抓取数据和Solr数据、HBase、Nutch、Solr

2023-09-11 12:21:25 作者:铭记╮那段忧伤

我有一个HBase的数据库保存抓取wikipedia.org的信息。我的机器是亚马逊Wweb服务。

I have a Hbase Database that holds crawled information of wikipedia.org. My machine is at Amazon Wweb Services.

我已经下载了Solr的,我想指数HBASE后的数据我会做搜索就可以了。

I have downloaded the Solr and I want to index the data at Hbase after that I will make search on it.

我是新来的Solr和HBase的,我该怎么办呢?

I am new to Solr and Hbase, how can I do that?

推荐答案

所有你需要做的是,运行此命令 - 须藤斌/ Nutch的solrindex的http://本地主机:8983 / Solr的/ - 重新索引

All you have to do is, run this command - sudo bin/nutch solrindex http://localhost:8983/solr/ -reindex

但你这样做之前,请确保您的Solr实例启动并运行,你可以通过访问以下链接验证的http://本地主机:8983 / Solr的/ 和如果你能找到Solr的管理那么你的Solr实例运行。

But before you do that please make sure your solr instance is up and running which you can verify by visiting this link http://localhost:8983/solr/ and if you can find Solr admin then your Solr instance is running.