Hi! First of all I never used elastic search before, only mysql, but for searching 1m records I decided to use elastic.
I'm using elastic php library to insert and get records and use only autosuggest feature. On type get records.
Main problem - elastic shut downs whenever he wants. I have 4GB vps with mysql 2000Mb (50%) and elastic with default configs (I guess it uses 1GB config). On the casual check of processes mysql uses 51-52% nginx php processes 1-10%, so I dunno why elastic always shutdowns.
in the logs (/var/log/elasticsearch) on the last file 2018-02-28
I have errors
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('B' (code 66)): was expecting comma to separate Object entries
and a lot of
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('Ð' (code 208)): was expecting comma to separate Object entries
Here full logs
2018-02-25-1.log https://pastebin.com/7Yi87jA4 [maybe has needed info]
I guess it is maybe some ram overage, so my second question how to set elastic to use 0.5GB ram, not 1gb