Package version:

Interface SuggestDocumentsResult<TModel, TFields>

Response containing suggestion query results from an index.

interface SuggestDocumentsResult<TModel, TFields> {
    coverage?: number;
    results: SuggestResult<TModel, TFields>[];
}

Type Parameters

Properties

Properties

coverage?: number

A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request. NOTE: This property will not be serialized. It can only be populated by the server.

The sequence of results returned by the query. NOTE: This property will not be serialized. It can only be populated by the server.