小编Sub*_*pta的帖子

加载到solr时Nutch消息"没有IndexWriters激活"

我按照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)

solr nutch

5
推荐指数
1
解决办法
5112
查看次数

骆驼http端点动态形成url

我正在尝试使用的家伙

{
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}来访问路由似乎都无效。

任何建议将大有帮助。

url http dynamic apache-camel endpoint

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

apache-camel ×1

dynamic ×1

endpoint ×1

http ×1

nutch ×1

solr ×1

url ×1