Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
yii
elasticsearch
Command
getSource
yii\elasticsearch\Command::getSource PHP Method
Command Class Documentation
Mostra file
Open project: yiisoft/yii2-elasticsearch
getSource()
public
method
gets a documents _source from the index (>=v0.90.1)
See also:
http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html#_source
public
getSource
(
$index
,
$type
,
$id
) :
mixed
$index
$type
$id
return
mixed
public function getSource($index, $type, $id) { return $this->db->get([$index, $type, $id]); }
Command
clearIndexCache
clearScroll
closeIndex
createIndex
createTemplate
delete
deleteAllIndexes
deleteByQuery
deleteIndex
deleteMapping
deleteTemplate
exists
flushIndex
get
getIndexStatus
getMapping
getSource
getTemplate
indexExists
insert
mget
openIndex
refreshIndex
scroll
search
setMapping
suggest
typeExists
update
updateAnalyzers
updateSettings