SearchResultSetTrait
Trait SearchResultSetTrait
Table of Contents
Properties
- $facets : ArrayData
- $highlight : Highlighting
- $totalItems : int
Methods
- setHighlight() : SearchResult
- Set the highlighted items
- setTotalItems() : self
- Set the total amount of results
Properties
$facets
protected
ArrayData
$facets
Facets
$highlight
protected
Highlighting
$highlight
Highlighted items
$totalItems
protected
int
$totalItems
Total items in result
Methods
setHighlight()
Set the highlighted items
public
setHighlight( $highlight) : SearchResult
Parameters
Return values
SearchResultsetTotalItems()
Set the total amount of results
public
setTotalItems( $count) : self