gpt4 book ai didi

solr - 加载到 solr 时出现 Nutch 消息 "No IndexWriters activated"

转载 作者:行者123 更新时间:2023-12-04 17:50:30 25 4
gpt4 key购买 nike

我已经按照 nutch 教程运行了 nutch 爬虫 http://wiki.apache.org/nutch/NutchTutorial但是当我开始将它加载到 solr 时,我收到此消息,即“ 未激活 IndexWriters - 检查您的配置

bin/nutch solrindex http://localhost:8983/solr crawl/crawldb/ -dir crawl/segments/
Indexer: starting at 2013-07-15 08:09:13
Indexer: deleting gone documents: false
Indexer: URL filtering: false
Indexer: URL normalizing: false
**No IndexWriters activated - check your configuration**

Indexer: finished at 2013-07-15 08:09:21, elapsed: 00:00:07

最佳答案

确保插件 indexer-solr已经包括了。转到文件:conf/nutch-site.xml并在属性(property)plugin.includes添加插件,例如:

protocol-http|urlfilter-regex|parse-(html|tika)|index-(basic|anchor)|indexer-solr|scoring-opic|urlnormalizer-(pass|regex|basic)



添加插件后 No IndexWriters activated - check your configuration在我的情况下,警告消失了。

检查此线程: http://lucene.472066.n3.nabble.com/a-plugin-extending-IndexWriter-td4074353.html

关于solr - 加载到 solr 时出现 Nutch 消息 "No IndexWriters activated",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17649567/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com