SearchRequestSummary

data class SearchRequestSummary(val numResults: Int, val offset: Int, val totalResults: Int, val query: String = "", val geoBias: GeoPoint? = null, val queryTime: Duration? = null, @IntRange(from = 1, to = 4) val fuzzyLevel: Int)

The summary of a Search API call.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

numResults

The number of results returned in this batch.

offset

The offset of the results in the collection of all results.

totalResults

The total number of results.

query

The query that resulted in this response.

geoBias

The position used to bias the results.

queryTime

The time it took to process this query.

fuzzyLevel

The fuzzy level in Search. Fuzzy level can be in the range of 1-4.

Constructors

Link copied to clipboard
fun SearchRequestSummary(numResults: Int, offset: Int, totalResults: Int, query: String = "", geoBias: GeoPoint? = null, queryTime: Duration? = null, @IntRange(from = 1, to = 4) fuzzyLevel: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val geoBias: GeoPoint? = null
Link copied to clipboard
Link copied to clipboard
val offset: Int
Link copied to clipboard
Link copied to clipboard
val queryTime: Duration? = null
Link copied to clipboard