Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/reference/rollup/apis/rollup-index-caps.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ experimental[]
[[rollup-get-rollup-index-caps-request]]
==== {api-request-title}

`GET <index>/_rollup/data`
`GET <target>/_rollup/data`

[[rollup-get-rollup-index-caps-prereqs]]
==== {api-prereq-title}
Expand All @@ -38,9 +38,9 @@ and what aggregations can be performed on each job?
[[rollup-get-rollup-index-caps-path-params]]
==== {api-path-parms-title}

`<index>`::
(Required, string) Index or index-pattern of concrete rollup indices to check
for capabilities.
`<target>`::
(Required, string) Data stream or index to check for rollup capabilities.
Wildcard (`*`) expressions are supported.

[[rollup-get-rollup-index-caps-example]]
==== {api-examples-title}
Expand Down
32 changes: 20 additions & 12 deletions docs/reference/rollup/apis/rollup-search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<titleabbrev>Rollup search</titleabbrev>
++++

Enables searching rolled-up data using the standard query DSL.
Enables searching rolled-up data using the standard query DSL.

experimental[]

[[rollup-search-request]]
==== {api-request-title}

`GET <index>/_rollup_search`
`GET <target>/_rollup_search`

[[rollup-search-desc]]
==== {api-description-title}
Expand All @@ -27,20 +27,28 @@ expect given the original query.
[[rollup-search-path-params]]
==== {api-path-parms-title}

`<index>`::
(Required, string) Index, indices or index-pattern to execute a rollup search
against. This can include both rollup and non-rollup indices.
`<target>`::
+
--
(Required, string)
Comma-separated list of data streams and indices used to limit
the request. Wildcard expressions (`*`) are supported.

Rules for the `index` parameter:
This target can include both rollup and non-rollup indices.

- At least one index/index-pattern must be specified. This can be either a
rollup or non-rollup index. Omitting the index parameter, or using `_all`, is
not permitted.
- Multiple non-rollup indices may be specified
Rules for the `<target>` parameter:

- At least one data stream, index, or wildcard expression must be specified.
This target can include a rollup or non-rollup index. For data streams, the
stream's backing indices can only serve as non-rollup indices. Omitting the
`<target>` parameter or using `_all` is not permitted.
- Multiple non-rollup indices may be specified.
- Only one rollup index may be specified. If more than one are supplied, an
exception occurs.
- Index patterns may be used, but if they match more than one rollup index an
exception occurs.
- Wildcard expressions may be used, but, if they match more than one rollup index, an
exception occurs. However, you can use an expression to match multiple non-rollup
indices or data streams.
--

[[rollup-search-request-body]]
==== {api-request-body-title}
Expand Down