Skip to content

Commit

Permalink
fixed index name for operations
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Fasching committed Sep 22, 2017
1 parent 32a838d commit 750fb73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function getIndexData(Concrete $object) {
public function doUpdateIndexData(Concrete $object, $ignoreUpdateQueue = false) {

$params = [
'index' => strtolower($object->getClassName()),
'index' => $this->getIndexName($object->getClassName()),
'type' => $object->getClassName(),
'id' => $object->getId()
];
Expand Down Expand Up @@ -357,7 +357,7 @@ protected function updateUpdateQueueForDataObject(Concrete $object) {
public function doDeleteFromIndex(Concrete $object) {

$params = [
'index' => strtolower($object->getClassName()),
'index' => $this->getIndexName($object->getClassName()),
'type' => $object->getClassName(),
'id' => $object->getId()
];
Expand Down

0 comments on commit 750fb73

Please sign in to comment.