I start the server, add data, create indexes. After a couple of days, Elasticsearch stops finding data that is.
The memory is overflowing, the data was cleared out of the position by clearing the folder and the re-creation of indexes.
Then they found that it is necessary to increase the memory allocated for Elasticsearch in the settings. Set the export variable ES_HEAP_SIZE=10
- still does not search for data.
After rebooting the server, $ES_HEAP_SIZE
is deleted.
In the database ( mongodb ), we search for data in a specific field by some pattern ( text ). First time it finds the necessary number of records, but then the answer from the server comes 200 OK
[ { "err": "No Living connections" } ]
What am I doing wrong? Perhaps, in general, the reason is different? Tell me please.