I am new to elastic search. I am developing an application based on Spring boot (Version 2.0.1.RELEASE) and elastic search (Version 6.2.4)
My application is very simple, it just creates document in elastic search index by REST call. But i am getting below error:
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
I understood the reason behind it as elastic search is clearly saying:
[2018-05-08T14:55:02,341][WARN ][o.e.c.r.a.DiskThresholdMonitor] [j4dhI17] flood stage disk watermark [95%] exceeded on j4dhI178TbWg0VVY_zbx0w][j4dhI17][D:\Drive_E\SOFTWARES\elasticsearch-6.2.4\data\nodes\0] free: 10.4gb[3.2%], all indices on this node will marked read-only
My question is Has there any way so that i can avoid this restriction (High disk usage watermark) configuring elastic search ?