elasticsearch\Query highlight()

highlight() public method

Sets a highlight parameters to retrieve from the documents.

See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html.

public $this highlight ( $highlight )
$highlight array

Array of parameters to highlight results.

return $this

The query object itself

doc_Yii
2016-10-30 17:02:07
Comments
Leave a Comment

Please login to continue.