Commit graph

441 commits

Author SHA1 Message Date
John Wagster
ae12114755
small doc fix for updates related to _source defaults found by community member (#118605) (#118613) 2024-12-13 06:46:02 +11:00
shainaraskas
78d60343c1
change from string to array in example (#109263) (#109700)
(cherry picked from commit d12a318304)
2024-06-13 15:04:17 -04:00
István Zoltán Szabó
c1cea7b4e7
[7.17] [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265) (#107278)
* [DOCS] Expands the list of possible values of the result parameter of the bulk API. (#107265)

(cherry picked from commit c50fcb95ed)

* Apply suggestions from code review
2024-04-09 18:02:11 +02:00
Abdon Pijpelink
272bdd9fc0
[DOCS] Add missing privilege to bulk prerequisites (#92237) (#92299) 2022-12-13 10:27:45 +01:00
David Turner
b611fe4bb5 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:11:39 +01:00
István Zoltán Szabó
08aa7c03a1
[7.17] [DOCS] Modifies link that points to .NET client page. (#90229) (#90243)
* [DOCS] Modifies link that points to .NET client page. (#90229)

* Update docs/reference/docs/bulk.asciidoc
2022-09-22 14:02:20 +02:00
James Rodewig
c774bdd013
[DOCS] Remove note about partial response from Bulk API docs (#84053) (#84119)
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.

(cherry picked from commit 8ff1336127)
2022-02-17 09:33:16 -05:00
James Rodewig
9eba1c38c8
[DOCS] Update scripted upsert example (#81481) (#81857)
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-17 08:41:26 -05:00
James Rodewig
762e537320
[DOCS] Remove source query params from update/delete by query APIs (#81131) (#81212)
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.
# Conflicts:
#	rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json
2021-12-01 10:07:41 -05:00
Jake Landis
85beb08a84
Fix "outer" max_docs documentation (#80436) (#80510)
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 13:07:05 -05:00
James Rodewig
256d5c0cdb
[DOCS] _id is required for bulk API's update action (#79774) (#79815)
Fixes a doc bug introduced in #55414.
2021-10-26 10:32:02 -04:00
James Rodewig
43802f700c
Add reference to PHP client on Bulk API page (#78558) (#78652)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Christian Fratta <christian.fratta@gmail.com>
2021-10-04 17:41:47 -04:00
James Rodewig
1100311e1b
[DOCS] Change _routing to routing in mget API docs (#76214) (#76305)
The request body parameter is `routing`, not `_routing`.

Co-authored-by: Daniel Imfeld <daniel@imfeld.dev>
2021-08-10 13:08:32 -04:00
James Rodewig
b381dd9be2
[DOCS] Add object subfield example for update API (#75460) (#75487)
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:52:58 -04:00
James Rodewig
7dabe8d0eb
[DOCS] Fix allowed refresh args for several doc APIs (#74749) (#75055)
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:29:18 -04:00
James Rodewig
8e05ec5753
[DOCS] Note remote reindex does not support slicing (#73959) (#74425)
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:10:43 -04:00
James Rodewig
9c860e9aa2
[DOCS] Note bulk API supports application/json content type (#73949) (#74423)
The bulk API supports a `Content-Type` header of `application/json` or
`application/x-ndjson`.

Closes #26280
2021-06-22 09:09:54 -04:00
James Rodewig
c0bbcb17bb
[DOCS] Fix _tasks API endpoint reference (#73379) (#73532)
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:37 -04:00
James Rodewig
3182482701
[DOCS] Update alias references (#73427) (#73502)
Updates several `index aliases` references to `aliases`.
2021-05-27 17:57:51 -04:00
Kevin Lowe
4258aa9347
[DOCS] Fix typo (#73444) 2021-05-27 09:22:31 -04:00
James Rodewig
21ae3440b4
[DOCS] Update alias xrefs (#73380) (#73391)
Updates several internal 'alias' xrefs to point to the aliases guide rather than
API docs.
2021-05-26 08:15:35 -04:00
James Rodewig
9352b1d98b
[DOCS] Reuse index template body params in simulate template API (#73177) (#73284)
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:30:54 -04:00
James Rodewig
6ab534446f
[DOCS] Fix reindex API intro (#73188) (#73240)
The destination doesn't need to pre-exist.
2021-05-19 09:54:44 -04:00
James Rodewig
e852a8184d [DOCS] Fix typo 2021-05-19 08:50:42 -04:00
James Rodewig
d84cac0590
[DOCS] Fix typos (#72227) (#72256)
Co-authored-by: Pierre Grimaud <grimaud.pierre@gmail.com>
2021-04-26 14:18:27 -04:00
James Rodewig
f9daaaf436
[DOCS] Remove internal versioning for concurrency control (#71570) (#72098)
Co-authored-by: Yang Cheng <chengyang2048@163.com>
2021-04-22 15:46:27 -04:00
Francisco Fernández Castaño
c4c16b7fc7
Use the remaining scroll response documents on update by query bulk requests (#71931)
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
Backport of #71430
2021-04-20 16:57:31 +02:00
Nhat Nguyen
5913b79dd3
Allow specify dynamic templates in bulk request (#71518)
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-10 10:14:11 -04:00
James Rodewig
4c7a730767
[DOCS] Refactor data stream setup tutorial (#71074) (#71152) 2021-03-31 18:22:12 -04:00
James Rodewig
c757f9e4e7
[DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
Jonathan Halterman
9edb151604 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 20:58:29 +00:00
James Rodewig
302341a526
[DOCS] Replace put with create or update in API names (#70330) (#70421)
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-15 17:16:13 -04:00
James Rodewig
9c1d83d7a1
[DOCS] Remove pipeline param from delete API (#70177) (#70224) 2021-03-10 08:39:15 -05:00
Lisa Cawley
9aa359d4fd
[DOCS] Fix link in machine learning nightly maintenance setting (#69760) (#69762) 2021-03-01 17:54:21 -08:00
James Rodewig
b55249507e
[DOCS] Fix typos for duplicate words (#69125) (#69132) 2021-02-17 11:16:58 -05:00
James Rodewig
3ee4cc0610
[DOCS] Reuse built-in index templates admon (#68314) (#68317) 2021-02-01 12:48:01 -05:00
James Rodewig
83cda73b26
[DOCS] Add security privileges to document API docs (#67843) (#67912) 2021-01-25 10:28:49 -05:00
James Rodewig
392f1282a7
[DOCS] Fix typo (#67576) (#67583)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Mark Ramotowski <mark@intellectionsoftware.com>
2021-01-15 11:14:20 -05:00
James Rodewig
3872f08b33
[DOCS] Clean up index template xrefs (#67264) (#67272) 2021-01-11 12:58:00 -05:00
James Rodewig
2277551a98
[DOCS] Fix timeout parameter defaults (#66111) (#66690) 2020-12-21 09:20:43 -05:00
James Rodewig
d126c31636
[DOCS] Fix Fleet links (#66553) (#66558) 2020-12-17 15:35:15 -05:00
James Rodewig
0a70715206
[DOCS] Add require_alias to Bulk API (#66259) (#66265) 2020-12-14 11:21:26 -05:00
James Rodewig
a783b162bf
[DOCS] Add adaptive replica selection reference (#66232) (#66261)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: calm4wei <alferwei98@163.com>
2020-12-14 10:47:05 -05:00
James Rodewig
5e907093b9
[DOCS] Fix search_timeout parameter docs (#66075) (#66125)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: bellengao <gbl_long@163.com>
2020-12-09 13:44:33 -05:00
James Rodewig
050c7ebe23
[DOCS] Correct the default value of wait_for_completion query param (#65800) (#65902)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: bellengao <gbl_long@163.com>
2020-12-04 17:14:42 -05:00
James Rodewig
4bbc00d6fc
[DOCS] Add require_alias query param to reindex API (#65608) (#65609) 2020-11-30 09:48:16 -05:00
DeDe Morton
9908b871ec
Fix links to Fleet overview (#65174) (#65232) 2020-11-18 11:03:44 -08:00
James Rodewig
7df9873b5a
[DOCS] Remote reindex is not fwd compatible (#65207) (#65225) 2020-11-18 13:02:59 -05:00
James Rodewig
c3bf9726a5
[DOCS] Add heading and anchor to reindex with ingest pipeline section (#64835) (#64895)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: Mark Walkom <markw@elastic.co>
2020-11-10 17:24:18 -05:00
James Rodewig
aea83909d9
[DOCS] Fix case for 'Boolean' (#64299) (#64341) 2020-10-29 10:04:20 -04:00