Skip to content

Commit

Permalink
add fix error to initindex method
Browse files Browse the repository at this point in the history
  • Loading branch information
juniorgerdet committed May 6, 2020
1 parent 001f487 commit 703c365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/ElasticEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ protected function initIndex(Model $model)
$index = $model->searchableAs();
$params = [
'_index' => $index,
'_type' => $index,
'_type' => 'doc',
];
return $params;
}
Expand Down

0 comments on commit 703c365

Please sign in to comment.