class SearchResponse extends Collection (View source)

Properties

protected $collection_key
protected $debugInfoType
protected $debugInfoDataType
protected $errorInfoType
protected $errorInfoDataType
protected $facetResultsType
protected $facetResultsDataType
bool $hasMoreResults
protected $queryInterpretationType
protected $queryInterpretationDataType
string $resultCountEstimate
string $resultCountExact
protected $resultCountsType
protected $resultCountsDataType
protected $resultsType
protected $resultsDataType
protected $spellResultsType
protected $spellResultsDataType
protected $structuredResultsType
protected $structuredResultsDataType

Methods

setDebugInfo(ResponseDebugInfo $debugInfo)

No description

getDebugInfo()

No description

setErrorInfo(ErrorInfo $errorInfo)

No description

getErrorInfo()

No description

setFacetResults($facetResults)

No description

getFacetResults()

No description

setHasMoreResults($hasMoreResults)

No description

bool
getHasMoreResults()

No description

setQueryInterpretation(QueryInterpretation $queryInterpretation)

No description

setResultCountEstimate($resultCountEstimate)

No description

string
getResultCountEstimate()

No description

setResultCountExact($resultCountExact)

No description

string
getResultCountExact()

No description

setResultCounts(ResultCounts $resultCounts)

No description

getResultCounts()

No description

setResults($results)

No description

getResults()

No description

setSpellResults($spellResults)

No description

getSpellResults()

No description

setStructuredResults($structuredResults)

No description

Details

setDebugInfo(ResponseDebugInfo $debugInfo)

No description

Parameters

ResponseDebugInfo $debugInfo

ResponseDebugInfo getDebugInfo()

No description

Return Value

ResponseDebugInfo

setErrorInfo(ErrorInfo $errorInfo)

No description

Parameters

ErrorInfo $errorInfo

ErrorInfo getErrorInfo()

No description

Return Value

ErrorInfo

setFacetResults($facetResults)

No description

Parameters

$facetResults

FacetResult[] getFacetResults()

No description

Return Value

FacetResult[]

setHasMoreResults($hasMoreResults)

No description

Parameters

$hasMoreResults

bool getHasMoreResults()

No description

Return Value

bool

setQueryInterpretation(QueryInterpretation $queryInterpretation)

No description

Parameters

QueryInterpretation $queryInterpretation

QueryInterpretation getQueryInterpretation()

No description

Return Value

QueryInterpretation

setResultCountEstimate($resultCountEstimate)

No description

Parameters

$resultCountEstimate

string getResultCountEstimate()

No description

Return Value

string

setResultCountExact($resultCountExact)

No description

Parameters

$resultCountExact

string getResultCountExact()

No description

Return Value

string

setResultCounts(ResultCounts $resultCounts)

No description

Parameters

ResultCounts $resultCounts

ResultCounts getResultCounts()

No description

Return Value

ResultCounts

setResults($results)

No description

Parameters

$results

SearchResult[] getResults()

No description

Return Value

SearchResult[]

setSpellResults($spellResults)

No description

Parameters

$spellResults

SpellResult[] getSpellResults()

No description

Return Value

SpellResult[]

setStructuredResults($structuredResults)

No description

Parameters

$structuredResults

StructuredResult[] getStructuredResults()

No description

Return Value

StructuredResult[]