I got geojson file about 80mb size, when i am trying to index this document to ES in java method, ES stops respond and service is stopped until reboot. If i try to index this file via Kibana GUI everything works fine.
IndexRequest indexRequest = new IndexRequest(indexName)
.id(id)
.source(content, XContentType.JSON);
try {
IndexResponse indexResponse = restHighLevelClient.index(indexRequest, RequestOptions.DEFAULT);
and there is piece of log from ES
stacktrace": ["org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed",
"at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:568) [elasticsearch-7.10.1.jar:7.10.1]",
"at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:324) [elasticsearch-7.10.1.jar:7.10.1]",
any suggestions how to fix it?? Thanks!