import { _Hit, _UnmarshalledHit } from "./_Hit"; /** *

The collection of documents that match the search request.

*/ export interface _Hits { /** *

The total number of documents that match the search request.

*/ found?: number; /** *

The index of the first matching document.

*/ start?: number; /** *

A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.

*/ cursor?: string; /** *

A document that matches the search request.

*/ hit?: Array<_Hit> | Iterable<_Hit>; } export interface _UnmarshalledHits extends _Hits { /** *

A document that matches the search request.

*/ hit?: Array<_UnmarshalledHit>; }