【问题标题】:Disable future indexing in Elasticsearch CouchDB river在 Elasticsearch CouchDB River 中禁用未来索引
【发布时间】:2013-10-03 11:47:29
【问题描述】:

我在 CouchDB 中有数百个未更新的小型数据库,但我需要经常查询它们。如何禁用将来的索引,以便 Elasticsearch 不会继续检查更改并节省我的系统资源?目前我已经为每个数据库设置了默认的批量大小和超时时间分别为 100 和 10 毫秒。

【问题讨论】:

    标签: indexing couchdb elasticsearch


    【解决方案1】:

    使用如下命令删除河流以从 Elasticsearch 中按 _type 删除河流将确保以后不再更新:

    curl -XDELETE 'localhost:9200/_river/'_type'/'

    希望对您有所帮助。

    【讨论】:

      猜你喜欢
      • 2011-12-08
      • 1970-01-01
      • 1970-01-01
      • 2013-03-03
      • 1970-01-01
      • 2014-10-07
      • 1970-01-01
      • 2012-12-18
      • 2015-04-15
      相关资源
      最近更新 更多