REST Resource: stats.query.searchapplications
Stay organized with collections
Save and categorize content based on your preferences.
Resource: GetSearchApplicationQueryStatsResponse
Response format for getting query stats for a search application between given dates.
Fields |
stats[] |
object (SearchApplicationQueryStats )
Query stats per date for a search application.
|
totalQueryCount |
string (int64 format)
Total successful query count (status code 200) for the given date range.
|
SearchApplicationQueryStats
Search application level query stats per date
Fields |
date |
object (Date )
The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned.
|
queryCountByStatus[] |
object (QueryCountByStatus )
|
QueryCountByStatus
JSON representation |
{
"statusCode": integer,
"count": string
} |
Fields |
statusCode |
integer
This represents the http status code.
|
count |
string (int64 format)
|
Methods |
|
Get the query statistics for search application. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-04 UTC.
[null,null,["Last updated 2025-04-04 UTC."],[],[],null,["# REST Resource: stats.query.searchapplications\n\n- [Resource: GetSearchApplicationQueryStatsResponse](#GetSearchApplicationQueryStatsResponse)\n - [JSON representation](#GetSearchApplicationQueryStatsResponse.SCHEMA_REPRESENTATION)\n- [SearchApplicationQueryStats](#SearchApplicationQueryStats)\n - [JSON representation](#SearchApplicationQueryStats.SCHEMA_REPRESENTATION)\n- [QueryCountByStatus](#QueryCountByStatus)\n - [JSON representation](#QueryCountByStatus.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: GetSearchApplicationQueryStatsResponse\n------------------------------------------------\n\nResponse format for getting query stats for a search application between given dates.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"stats\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#SearchApplicationQueryStats) } ], \"totalQueryCount\": string } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `stats[]` | `object (`[SearchApplicationQueryStats](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#SearchApplicationQueryStats)`)` Query stats per date for a search application. |\n| `totalQueryCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total successful query count (status code 200) for the given date range. |\n\nSearchApplicationQueryStats\n---------------------------\n\nSearch application level query stats per date\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"date\": { object (/workspace/cloud-search/docs/reference/rest/v1/Date) }, \"queryCountByStatus\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#QueryCountByStatus) } ] } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `date` | `object (`[Date](/workspace/cloud-search/docs/reference/rest/v1/Date)`)` The date for which query stats were calculated. Stats calculated on the next day close to midnight are returned. |\n| `queryCountByStatus[]` | `object (`[QueryCountByStatus](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications#QueryCountByStatus)`)` |\n\nQueryCountByStatus\n------------------\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"statusCode\": integer, \"count\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------|\n| `statusCode` | `integer` This represents the http status code. |\n| `count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------|--------------------------------------------------|\n| ### [get](/workspace/cloud-search/docs/reference/rest/v1/stats.query.searchapplications/get) | Get the query statistics for search application. |"]]