yii\elasticsearch\Command::getSource PHP Метод

getSource() публичный Метод

gets a documents _source from the index (>=v0.90.1)
См. также: http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html#_source
public getSource ( $index, $type, $id ) : mixed
$index
$type
$id
Результат mixed
    public function getSource($index, $type, $id)
    {
        return $this->db->get([$index, $type, $id]);
    }