File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,9 @@ The response includes metadata that {es} generates for the document:
94
94
[[add-multiple-documents]]
95
95
==== Add multiple documents
96
96
97
- To add multiple documents in one request, use the bulk API . Bulk data must be
98
- newline-delimited JSON (NDJSON). Each line must end in a newline character
99
- (`\n`), including the last line.
97
+ Use the `_bulk` endpoint to add multiple documents in one request. Bulk data
98
+ must be newline-delimited JSON (NDJSON). Each line must end in a newline
99
+ character (`\n`), including the last line.
100
100
101
101
[source,console]
102
102
----
@@ -113,11 +113,9 @@ PUT logs-my_app-default/_bulk
113
113
[[qs-search-data]]
114
114
=== Step 4. Search data
115
115
116
- Indexed documents are available for search in near real-time. To search your
117
- data stream, use the search API.
118
-
119
- The following search matches all log entries in `logs-my_app-default` and
120
- sorts them by `@timestamp` in descending order.
116
+ Indexed documents are available for search in near real-time. The following
117
+ search matches all log entries in `logs-my_app-default` and sorts them by
118
+ `@timestamp` in descending order.
121
119
122
120
[source,console]
123
121
----
You can’t perform that action at this time.
0 commit comments