Documentation

SearchResponseConverter
in package

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>

Methods

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>

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>

        

Search results