Elastica\Query\InnerHits::setVersion PHP Method

setVersion() public method

Returns a version for each search hit.
public setVersion ( boolean $version )
$version boolean
    public function setVersion($version)
    {
        return $this->setParam('version', (bool) $version);
    }