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
Elastica
Result
setParam
Elastica\Result::setParam PHP Method
Result Class Documentation
Mostra file
Open project: ruflin/elastica
setParam()
public
method
Sets a parameter on the hit.
public
setParam
(
string
$param
,
mixed
$value
)
$param
string
$value
mixed
public function setParam($param, $value) { $this->_hit[$param] = $value; }
Result
__construct
__get
__isset
getData
getDocument
getExplanation
getFields
getHighlights
getHit
getId
getIndex
getInnerHits
getParam
getScore
getSource
getType
getVersion
hasFields
hasInnerHits
hasParam
setParam