SearchResponseConverter
Table of Contents
-
convertSearchResult()
: array<string|int, mixed>
-
convertDateRangeFacetResult()
: array<string|int, mixed>
-
convertFacetResult()
: array<string|int, mixed>
-
convertFields()
: string
-
convertFragments()
: array<string|int, mixed>
-
convertHits()
: array<string|int, mixed>
-
convertLocations()
: array<string|int, mixed>
-
convertMetadata()
: array<string|int, mixed>
-
convertNumericRangeFacetResult()
: array<string|int, mixed>
-
convertTermFacetResult()
: array<string|int, mixed>
convertSearchResult()
public
static convertSearchResult(array<string|int, mixed> $response) : array<string|int, mixed>
Parameters
-
$response
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
convertDateRangeFacetResult()
private
static convertDateRangeFacetResult(string $name, DateRangeFacetResult $facetResult) : array<string|int, mixed>
Parameters
-
$name
: string
-
-
$facetResult
: DateRangeFacetResult
-
Return values
array<string|int, mixed>
—
convertFacetResult()
private
static convertFacetResult(array<string|int, mixed> $facets) : array<string|int, mixed>
Parameters
-
$facets
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
convertFields()
private
static convertFields(array<string|int, mixed> $field) : string
Parameters
-
$field
: array<string|int, mixed>
-
Return values
string
—
convertFragments()
private
static convertFragments(array<string|int, mixed> $fragments) : array<string|int, mixed>
Parameters
-
$fragments
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
convertHits()
private
static convertHits(array<string|int, mixed> $hits) : array<string|int, mixed>
Parameters
-
$hits
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
convertLocations()
private
static convertLocations(array<string|int, mixed> $locations) : array<string|int, mixed>
Parameters
-
$locations
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
private
static convertMetadata(MetaData $metadata) : array<string|int, mixed>
Parameters
-
$metadata
: MetaData
-
Return values
array<string|int, mixed>
—
convertNumericRangeFacetResult()
private
static convertNumericRangeFacetResult(string $name, NumericRangeFacetResult $facetResult) : array<string|int, mixed>
Parameters
-
$name
: string
-
-
$facetResult
: NumericRangeFacetResult
-
Return values
array<string|int, mixed>
—
convertTermFacetResult()
private
static convertTermFacetResult(string $name, TermFacetResult $facetResult) : array<string|int, mixed>
Parameters
-
$name
: string
-
-
$facetResult
: TermFacetResult
-
Return values
array<string|int, mixed>
—