Files
elasticsearch-js/docs/reference-shared-types-scroll.asciidoc

64 lines
3.8 KiB
Plaintext

[[reference-shared-types-scroll]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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 <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
== Shared Scroll types
[discrete]
[[ScrollRequest]]
=== ScrollRequest
[pass]
++++
<pre>
++++
interface ScrollRequest extends <<RequestBase>> {
scroll_id?: <<ScrollId>>
rest_total_hits_as_int?: boolean
scroll?: <<Duration>>
}
[pass]
++++
</pre>
++++
[discrete]
[[ScrollResponse]]
=== ScrollResponse
[pass]
++++
<pre>
++++
type ScrollResponse<TDocument = unknown, TAggregations = Record<<<AggregateName>>, <<AggregationsAggregate>>>> = <<SearchResponseBody>><TDocument, TAggregations>
[pass]
++++
</pre>
++++