requireTotalSize property

bool? requireTotalSize
getter/setter pair

Controls if the search document request requires the return of a total size of matched documents.

See SearchDocumentsResponse.total_size. Enabling this flag may adversely impact performance. Hint: If this is used with pagination, set this flag on the initial query but set this to false on subsequent page calls (keep the total count locally). Defaults to false.

Implementation

core.bool? requireTotalSize;