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.

  • This is the same question, just in that discussion I cannot comment, answer your clarifying questions. Please write down here. The answer to the question in the comments: In the database (mongodb), we search for data in a specific field using some pattern (text). At first, it finds the required number of records, but then the answer comes from the server 200 OK [{"err": "No Living connections"}] - Adelya
  • So you need to edit that question, and not create a new one. And like your questions could be commented, regardless of reputation. You answer here. - Vartlok
  • @Vartlok I think he has something with the account, there’s another creator - Mike
  • Mike, just like that. - Adelya

0