该文件出现在比较高的nutch版本,对于一些比较低的nutch版本中并没有这个配置文件,如:在nutch1.7中并没有这个index-writers.xml。
在版本nutch1.7中对于索引的映射配置文件在solrindex-mapping.xml,该文件是和solr服务器建立索引映射的配置文件。
index-writers.xml解读官网对该配置文件的解析:IndexWriters - NUTCH - Apache Software Foundation
目前官方支持以下索引服务的配置:
| Indexer | Description |
|---|---|
| indexer-solr | Indexer for a Solr server |
| indexer-rabbit | Indexer for a RabbitMQ server |
| indexer-dummy | Indexer usually used for debugging, it writes in a plain text file |
| indexer-elastic | Indexer for an Elasticsearch server |
| indexer-elastic-rest | Indexer for Elasticsearch, but using Jest to connect with the REST API provided by Elasticsearch |
| indexer-cloudsearch | Indexer for Amazon CloudSearch |
| indexer-csv | Indexer for writing documents to a CSV file |
官方提供的index-writers.xml已经提供了多个索引服务的配置,这里只介绍solr,其他的writers类似,具体看官方文档。



