SearchResult
in package
Class for retrieving results from search queries.
Table of Contents
- $facets : array<string|int, mixed>|null
- $metadata : SearchMetaData|null
- $rows : array<string|int, mixed>|null
- facets() : array<string|int, mixed>|null
- Returns any facets returned by the query
- metaData() : SearchMetaData|null
- Returns metadata generated during query execution
- rows() : array<string|int, mixed>|null
- Returns any rows returned by the query
Properties
$facets
private
array<string|int, mixed>|null
$facets
= null
$metadata
private
SearchMetaData|null
$metadata
= null
$rows
private
array<string|int, mixed>|null
$rows
= null
Methods
facets()
Returns any facets returned by the query
public
facets() : array<string|int, mixed>|null
Array contains instances of SearchFacetResult
Return values
array<string|int, mixed>|null —metaData()
Returns metadata generated during query execution
public
metaData() : SearchMetaData|null
Return values
SearchMetaData|null —rows()
Returns any rows returned by the query
public
rows() : array<string|int, mixed>|null