ElasticSearch异常错误

Posted yangchongxing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ElasticSearch异常错误相关的知识,希望对你有一定的参考价值。

【ElasticSearch】异常错误

================================================================

1、磁盘满了造成 Elasticsearch 成为只读

================================================================

1、磁盘满了造成 Elasticsearch 成为只读

把磁盘重新扩容后还抱下面的错

blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]

把多有的索引设置为非只读 https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html

curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d ‘{"index.blocks.read_only_allow_delete": null}‘

 

以上是关于ElasticSearch异常错误的主要内容,如果未能解决你的问题,请参考以下文章

elasticsearch代码片段,及工具类SearchEsUtil.java

使用实体框架迁移时 SQL Server 连接抛出异常 - 添加代码片段

片段中的 EditText 上的空指针异常 [重复]

ElasticSearch学习问题记录——Invalid shift value in prefixCoded bytes (is encoded value really an INT?)(代码片段

片段中的 Listview 适配器给出空指针异常

java.lang.NullPointerException: Attempt to invoke virtual method ‘int android.database.sqlite异常(代码片段