REST Resource: stats.index.datasources

Resource: GetDataSourceIndexStatsResponse

JSON representation
{
  "stats": [
    {
      object(DataSourceIndexStats)
    }
  ]
}
Fields
stats[]

object(DataSourceIndexStats)

Summary of indexed item counts, one for each day in the requested range.

DataSourceIndexStats

Aggregation of items by status code as of the specified date.

JSON representation
{
  "date": {
    object(Date)
  },
  "itemCountByStatus": [
    {
      object(ItemCountByStatus)
    }
  ]
}
Fields
date

object(Date)

Date for which index stats were calculated. If the date of request is not the current date then stats calculated on the next day are returned. Stats are calculated close to mid night in this case. If date of request is current date, then real time stats are returned.

itemCountByStatus[]

object(ItemCountByStatus)

Number of items aggregrated by status code.

ItemCountByStatus

JSON representation
{
  "statusCode": enum(Code),
  "count": string
}
Fields
statusCode

enum(Code)

Status of the items.

count

string (int64 format)

Number of items matching the status code.

Methods

get

Gets indexed item statistics for a single data source.

Send feedback about...

Cloud Search
Cloud Search