[[reference-rollup-rollup_search]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.rollup.rollupSearch Enables searching rolled-up data using the standard Query DSL. {ref}/rollup-search.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (RollupRollupSearchRequest, options?): Promise ---- [discrete] ===== `RollupRollupSearchRequest` [source,ts] ---- interface RollupRollupSearchRequest extends <> { index: <> rest_total_hits_as_int?: boolean typed_keys?: boolean aggregations?: Record /** @alias aggregations */ aggs?: Record query?: QueryDslQueryContainer size?: <> } ---- [discrete] ===== `RollupRollupSearchResponse` [source,ts] ---- interface RollupRollupSearchResponse>, AggregationsAggregate>> { took: <> timed_out: boolean terminated_early?: boolean _shards: <> hits: SearchHitsMetadata aggregations?: TAggregations } ----