interface SearchMetaData (View source)

Interface for retrieving metadata such as error counts and metrics generated during search queries.

Methods

int|null
successCount()

Returns the number of pindexes successfully queried

int|null
errorCount()

Returns the number of errors messages reported by individual pindexes

int|null
took()

Returns the time taken to complete the query

int|null
totalHits()

Returns the total number of matches for this result

float|null
maxScore()

Returns the highest score of all documents for this search query.

array|null
metrics()

Returns the metrics generated during execution of this search query.

Details

int|null successCount()

Returns the number of pindexes successfully queried

Return Value

int|null

int|null errorCount()

Returns the number of errors messages reported by individual pindexes

Return Value

int|null

int|null took()

Returns the time taken to complete the query

Return Value

int|null

int|null totalHits()

Returns the total number of matches for this result

Return Value

int|null

float|null maxScore()

Returns the highest score of all documents for this search query.

Return Value

float|null

array|null metrics()

Returns the metrics generated during execution of this search query.

Return Value

array|null