getDocSourceFromElastic()
getDocSourceFromElastic(\Elastica\Client $client, string $index, string $type, string $documentId) : array
Retrieve document by id from Elasticsearch
Parameters
\Elastica\Client |
$client |
Elastica client |
string |
$index |
|
string |
$type |
|
string |
$documentId |
|
Returns
array