我按照nutch教程运行了nutch crawler 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
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用的家伙
{
from("direct:a").to (someUrl).processor(new Processor(){
@Override
public void process(Exchange arg0) throws Exception
{
// do something
}
});
where someUrl is of the type http://xyz.com/{id}?test=<value1>&test1=<value2>
}
Run Code Online (Sandbox Code Playgroud)
该网址将在对路由的每次请求中更改。
我已经尝试过的。将参数作为标头传递并尝试使用header(“ test”)和$ {in.header.test}来访问路由似乎都无效。
任何建议将大有帮助。