basemkhirat / elasticsearch

The missing elasticsearch ORM for Laravel, Lumen and Native php applications
MIT License
401 stars 130 forks source link

This update just sent my production server down: 3acec81 #115

Closed osthafen closed 4 years ago

osthafen commented 4 years ago

This update just sent my production server down: https://github.com/basemkhirat/elasticsearch/commit/3acec8184716b67a404dbbde6e8c4707d3c35d5b

My ->body($search_body) included : "_source" => [ "includes" => [....], ],

(it's with an s includes)

Which now was overwritten by: protected $_source = [ "include" => [], "exclude" => [] ];

So everything was included and the memory could not handle it....

basemkhirat commented 4 years ago

Removed this version.

Clear the cached package on the server .

composer clear-cache

composer now will install version 1.4.4.