SearchResultGetTrait
Trait SearchResultGetTrait
Table of Contents
Properties
- $facets : ArrayData
- $highlight : Highlighting
- $spellcheck : ArrayList
- $totalItems : int
Methods
- getFacets() : ArrayData
- Retrieve the facets from the results
- getHighlight() : array<string|int, mixed>|Highlighting
- Get the highlighting
- getSpellcheck() : ArrayList
- Get the spellchecked results
- getTotalItems() : int
- Total items in the result
Properties
$facets
protected
ArrayData
$facets
Facet results
$highlight
protected
Highlighting
$highlight
Highlighting
$spellcheck
protected
ArrayList
$spellcheck
Spellcheck results
$totalItems
protected
int
$totalItems
= 0
Total items in the result
Methods
getFacets()
Retrieve the facets from the results
public
getFacets() : ArrayData
Return values
ArrayDatagetHighlight()
Get the highlighting
public
getHighlight() : array<string|int, mixed>|Highlighting
Return values
array<string|int, mixed>|HighlightinggetSpellcheck()
Get the spellchecked results
public
getSpellcheck() : ArrayList
Return values
ArrayListgetTotalItems()
Total items in the result
public
getTotalItems() : int