David Turner
c95fb2f3e8
More opinionated docs about http.max_content_length ( #90500 )
...
Adds to the docs a note that the `100mb` default for
`http.max_content_length` is the recommended maximum, along with
suggestions for what to do when hitting this limit.
2022-09-29 16:07:38 +01:00
István Zoltán Szabó
7ad3cf0d34
[DOCS] Modifies link that points to .NET client page. ( #90229 )
2022-09-22 12:47:20 +02:00
Adam Michalik
a1056f1e00
Docs: Correct ctx.op value to valid 'noop' ( #89391 )
...
The documentation mentions the `noop` value ("Otherwise it does nothing (`noop`)"), however, the value used in the example script is `none`. This change corrects the value in the example script to `noop`.
2022-08-17 09:52:34 -05:00
Nik Everett
86effae55c
Docs: Data streams only support create
( #87263 )
...
This removes "data streams" from the docs for the `index`, `delete`,
and `update` actions because data streams only support the `update`
action.
Closes #87231
2022-06-08 13:41:42 -04:00
Antonio Bonuccelli
b556b4b5d0
[Docs] Document apiKey usage in remote reindex ( #85209 )
...
* document cloud_id usage
* actually no cloud id used
* [source,console]
* suggested change
* Mark example as NOTCONSOLE
* Add tests
* Add comma
* Fix comma (for real this time)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-05-10 14:31:42 -04:00
James Rodewig
8ff1336127
[DOCS] Remove note about partial response from Bulk API docs ( #84053 )
...
The bulk API response with a `200 OK` HTTP status always returns an entry for each action in the request. Partial responses aren't applicable.
2022-02-17 09:20:17 -05:00
Ievgen Degtiarenko
11b52619c5
do not scroll if max docs is less than scroll size (update/delete by query) ( #81654 )
...
This change allows to not open scroll while reindex/delete_by_query/update_by_query
if configured max_docs if less then or equal to the number of documents returned by the scroll batch.
2021-12-21 15:26:51 +01:00
James Rodewig
dc009b746f
[DOCS] Update scripted upsert example ( #81481 )
...
Updates the scripted upsert example to use a script `source` rather than
a stored script `id`. This makes the example more copy/paste-able.
2021-12-16 11:13:43 -05:00
James Rodewig
ca8c9be016
[DOCS] Remove source query params from update/delete by query APIs ( #81131 )
...
Removes source-related query parameters from the update by query
and delete by query API documentation. These parameters don't return
source fields as part of the response.
2021-12-01 09:06:12 -05:00
Dan Hermann
0d21b032b6
[DOCS] Custom routing for data streams
2021-11-10 07:11:50 -06:00
Jake Landis
41e520ed2c
Fix "outer" max_docs documentation ( #80436 )
...
This commit fixes a documentation bug that lists 'max_docs'
nested under source it should live at the same level as source
related: #43373
2021-11-08 07:58:55 -06:00
James Rodewig
1badb59521
[DOCS] _id
is required for bulk API's update
action ( #79774 )
...
Fixes a doc bug introduced in #55414 .
2021-10-26 10:21:28 -04:00
James Rodewig
fd30c6daf8
Add reference to PHP client on Bulk API page ( #78558 ) ( #78651 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Christian Fratta <christian.fratta@gmail.com>
2021-10-04 17:42:42 -04:00
James Rodewig
bd665103ed
[DOCS] Change _routing
to routing
in mget API docs ( #76214 ) ( #76304 )
...
The request body parameter is `routing`, not `_routing`.
Co-authored-by: Daniel Imfeld <daniel@imfeld.dev>
2021-08-10 13:08:50 -04:00
James Rodewig
63cdb0d172
[DOCS] Add object subfield example for update API ( #75460 )
...
Changes:
* Adds an example script for removing a subfield from an object
* Makes several other example snippets more modular.
Relates to 60532646df
and
074f84dde5
2021-07-19 14:43:04 -04:00
James Rodewig
a961d828d9
[DOCS] Fix allowed refresh
args for several doc APIs ( #74749 )
...
We incorrectly list `wait_for` as a valid `refresh` argument for the
following APIs:
* Delete by query
* Multi get
* Reindex
This fixes that error. It also updates the get API docs for consistency.
Closes #65031
2021-07-07 10:18:21 -04:00
James Rodewig
3c88fbea75
[DOCS] Note remote reindex does not support slicing ( #73959 )
...
A reindex from a remote cluster doesn't support automatic or manual slicing.
This reuses a related note from the reindex docs in the upgrade docs.
Closes #54243 .
2021-06-22 09:00:37 -04:00
James Rodewig
4ccff315ed
[DOCS] Note bulk API supports application/json
content type ( #73949 )
...
The bulk API supports a `Content-Type` header of `application/json` or
`application/x-ndjson`.
Closes #26280
2021-06-22 08:57:50 -04:00
James Rodewig
a375d232b5
[DOCS] Fix _tasks
API endpoint reference ( #73379 ) ( #73531 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Stéphane Bour <sbour@welcoming.com>
2021-05-28 11:19:12 -04:00
James Rodewig
5729bb8d49
[DOCS] Update alias references ( #73427 )
...
Updates several `index aliases` references to `aliases`.
2021-05-27 16:00:57 -04:00
James Rodewig
4e6e3fb51d
[DOCS] Fix typo ( #73444 ) ( #73472 )
...
Co-authored-by: Kevin Lowe <kevin@meetsoci.com>
2021-05-27 09:36:18 -04:00
James Rodewig
39a0314d30
[DOCS] Update alias xrefs ( #73380 )
...
Updates several internal 'alias' xrefs to point to the aliases guide rather than
API docs.
2021-05-25 16:19:00 -04:00
James Rodewig
cb943dbe9b
[DOCS] Reuse index template body params in simulate template API ( #73177 )
...
Changes:
* Reuses and reorders the index template API's body parameters in the simulate template API docs.
* Replaces several includes with a shorter xref.
* Reformats a sidebar on naming collisions with built-in index templates.
2021-05-20 12:21:20 -04:00
James Rodewig
25dcfae30a
[DOCS] Fix reindex API intro ( #73188 )
...
The destination doesn't need to pre-exist.
2021-05-19 09:44:51 -04:00
James Rodewig
fb212e415b
[DOCS] Fix typo
2021-05-19 08:50:19 -04:00
Pierre Grimaud
3c44dfec60
[DOCS] Fix typos ( #72227 )
2021-04-26 12:40:38 -04:00
Yang Cheng
fc2d6f89c9
[DOCS] Remove internal versioning for concurrency control ( #71570 )
2021-04-22 10:54:58 -04:00
Francisco Fernández Castaño
9d8fb9fba2
Use the remaining scroll response documents on update by query bulk requests ( #71430 )
...
In update by query requests where max_docs < size and conflicts=proceed
we weren't using the remaining documents from the scroll response in
cases where there were conflicts and in the first bulk request the
successful updates < max_docs. This commit address that problem and
use the remaining documents from the scroll response instead of
requesting a new page.
Closes #63671
2021-04-20 14:45:17 +02:00
Nhat Nguyen
5c9969250d
Allow specify dynamic templates in bulk request ( #69948 )
...
This change allows users to specify dynamic templates in a bulk request.
```
PUT myindex
{
"mappings": {
"dynamic_templates": [{
"time_histograms": {
"mapping": {
"type": "histogram",
"meta": {
"unit": "s"
}
}
}
}]
}
}
```
```
POST myindex/_bulk
{ "index": { "dynamic_templates": { "response_times": "time_histograms" } } }
{ "@timestamp": "2020-08-12", "response_times": { "values": [1, 10], "counts": [5, 1] }}
```
Closes #61939
2021-04-08 12:44:36 -04:00
James Rodewig
f41320616c
[DOCS] Refactor data stream setup tutorial ( #71074 )
2021-03-31 17:28:55 -04:00
James Rodewig
693807a6d3
[DOCS] Fix double spaces ( #71082 )
2021-03-31 09:57:47 -04:00
Jonathan Halterman
852c837141
Clarify data replication docs to mention in-sync replicas ( #70604 )
...
Clarifies primary shard flow for handling write requests to indicate that all in-sync replicas must ack a write.
2021-03-19 13:17:16 -07:00
James Rodewig
5c75d004fa
[DOCS] Replace put
with create or update
in API names ( #70330 )
...
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-03-15 14:49:44 -04:00
James Rodewig
468c68f6e7
[DOCS] Remove pipeline param from delete API ( #70177 )
2021-03-10 08:20:17 -05:00
Lisa Cawley
4c39136837
[DOCS] Fix link in machine learning nightly maintenance setting ( #69760 )
2021-03-01 17:14:21 -08:00
James Rodewig
9b88ae92e6
[DOCS] Fix typos for duplicate words ( #69125 )
2021-02-17 10:34:20 -05:00
James Rodewig
ebf08c0c83
[DOCS] Reuse built-in index templates admon ( #68314 )
2021-02-01 12:34:21 -05:00
James Rodewig
3b0ae0c4e3
[DOCS] Add security privileges to document API docs ( #67843 )
2021-01-25 09:46:09 -05:00
James Rodewig
36e6d8a6d7
[DOCS] Fix typo ( #67576 ) ( #67582 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Mark Ramotowski <mark@intellectionsoftware.com>
2021-01-15 11:14:07 -05:00
James Rodewig
86814df052
[DOCS] Clean up index template xrefs ( #67264 )
2021-01-11 12:38:09 -05:00
James Rodewig
10b036e934
[DOCS] Fix timeout parameter defaults ( #66111 )
2020-12-21 09:02:06 -05:00
bellengao
d14492ca13
[DOCS] Fix some typos in docs ( #66672 )
2020-12-21 12:45:51 +02:00
James Rodewig
da0188fb45
[DOCS] Fix Fleet links ( #66553 ) ( #66557 )
2020-12-17 15:27:15 -05:00
James Rodewig
8dc3fa98f7
[DOCS] Add require_alias
to Bulk API ( #66259 )
2020-12-14 10:57:17 -05:00
calm4wei
2a1db9b2b3
[DOCS] Add adaptive replica selection reference ( #66232 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-12-14 09:29:08 -05:00
bellengao
424ceb13ba
[DOCS] Fix search_timeout
parameter docs ( #66075 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-12-09 13:22:33 -05:00
bellengao
e198bb233e
[DOCS] Correct the default value of wait_for_completion
query param ( #65800 )
...
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
2020-12-04 15:52:35 -05:00
James Rodewig
630cb18b79
[DOCS] Add require_alias
query param to reindex API ( #65608 )
2020-11-30 09:30:40 -05:00
DeDe Morton
fb53dc3167
Fix links to Fleet overview ( #65174 )
2020-11-18 10:26:04 -08:00
James Rodewig
cc75bda411
[DOCS] Remote reindex is not fwd compatible ( #65207 )
2020-11-18 12:29:05 -05:00