From 81130779a1b64a879631f57c6d3ba0c4cbcda6db Mon Sep 17 00:00:00 2001 From: Fadion Dashi Date: Thu, 20 Aug 2015 23:45:56 +0200 Subject: [PATCH] Stop setting the id from _id. Closes #17 --- src/Fadion/Bouncy/BouncyTrait.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Fadion/Bouncy/BouncyTrait.php b/src/Fadion/Bouncy/BouncyTrait.php index ac1153e..67aa24e 100644 --- a/src/Fadion/Bouncy/BouncyTrait.php +++ b/src/Fadion/Bouncy/BouncyTrait.php @@ -544,7 +544,6 @@ public function newFromElasticResults(Array $hit) $instance = $this->newInstance(array(), true); $attributes = $hit['_source']; - $attributes['id'] = $hit['_id']; $instance->isDocument = true;