错误提示:
Catalog Search index process unknown error:
{"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
ElasticSuite Category Indexing index process unknown error:
{"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
ElasticSuite Thesaurus Indexing index process unknown error:
{"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
Catalog Search index process unknown error:
{"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
ElasticSuite Category Indexing index process unknown error:
{"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"}],"type":"validation_exception","reason":"Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;"},"status":400}
ElasticSuite Thesaurus Indexing index process unknown error:
{"error":{"root_cause":[{"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [<http_request>] would be [1020349782/973mb], which is larger than the limit of [1020054732/972.7mb], real usage: [1020348608/973mb], new bytes reserved: [1174/1.1kb], usages [request=72/72b, fielddata=2009513/1.9mb, in_flight_requests=1174/1.1kb, model_inference=0/0b, accounting=26789840/25.5mb]","bytes_wanted":1020349782,"bytes_limit":1020054732,"durability":"PERMANENT"}],"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [<http_request>] would be [1020349782/973mb], which is larger than the limit of [1020054732/972.7mb], real usage: [1020348608/973mb], new bytes reserved: [1174/1.1kb], usages [request=72/72b, fielddata=2009513/1.9mb, in_flight_requests=1174/1.1kb, model_inference=0/0b, accounting=26789840/25.5mb]","bytes_wanted":1020349782,"bytes_limit":1020054732,"durability":"PERMANENT"},"status":429}
Cleaned cache types:
解决方法:
curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://127.0.0.1:9200/_cluster/settings'