Elasticsearch问题集

1、org.springframework.data.elasticsearch.ElasticsearchException: Bulk indexing has failures. Use ElasticsearchException.getFailedDocuments() for detailed messages [{lveWSGgBmHj4rHXPCc0q=ClusterBlockException[blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]; ]
剩余磁盘空间达到es最小值,添加数据被block
解决方法:
https://www.elastic.co/guide/en/elasticsearch/reference/current/disk-allocator.html

PUT _settings { "index.blocks.read_only_allow_delete": null }


【Elasticsearch问题集】

    推荐阅读