totalResultSize property

String? totalResultSize
getter/setter pair

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

See SearchDocumentsResponse.total_size. Possible string values are:

  • "TOTAL_RESULT_SIZE_UNSPECIFIED" : Total number calculation will be skipped.
  • "ESTIMATED_SIZE" : Estimate total number. The total result size will be accurated up to 10,000. This option will add cost and latency to your request.
  • "ACTUAL_SIZE" : It may adversely impact performance. The limit is 1000,000.

Implementation

core.String? totalResultSize;