You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/api-reference.md
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -980,7 +980,6 @@ PUT my-index-000001/_doc/1?version=2&version_type=external
980
980
"id": "elkbee"
981
981
}
982
982
}
983
-
```
984
983
985
984
In this example, the operation will succeed since the supplied version of 2 is higher than the current document version of 1.
986
985
If the document was already updated and its version was set to 2 or higher, the indexing command will fail and result in a conflict (409 HTTP status code).
@@ -9211,7 +9210,7 @@ retrieval. This allows the configuration to be in an acceptable format to
- **`set_id` (string)**: The ID of the synonym set to update.
14247
14246
- **`rule_id` (string)**: The ID of the synonym rule to delete.
14247
+
- **`refresh` (Optional, boolean)**: If `true`, the request will refresh the analyzers with the deleted synonym rule and wait for the new synonyms to be available before returning.
14248
+
If `false`, analyzers will not be reloaded with the deleted synonym rule
- **`id` (string)**: The ID of the synonyms set to be created or updated.
14315
14316
- **`synonyms_set` ({ id, synonyms } | { id, synonyms }[])**: The synonym rules definitions for the synonyms set.
14317
+
- **`refresh` (Optional, boolean)**: If `true`, the request will refresh the analyzers with the new synonyms set and wait for the new synonyms to be available before returning.
14318
+
If `false`, analyzers will not be reloaded with the new synonym set
- **`set_id` (string)**: The ID of the synonym set.
14335
14338
- **`rule_id` (string)**: The ID of the synonym rule to be updated or created.
14336
14339
- **`synonyms` (string)**: The synonym rule information definition, which must be in Solr format.
14340
+
- **`refresh` (Optional, boolean)**: If `true`, the request will refresh the analyzers with the new synonym rule and wait for the new synonyms to be available before returning.
14341
+
If `false`, analyzers will not be reloaded with the new synonym rule
* Get datafeeds usage info. You can get statistics for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get statistics for all datafeeds by using `_all`, by specifying `*` as the `<feed_id>`, or by omitting the `<feed_id>`. If the datafeed is stopped, the only information you receive is the `datafeed_id` and the `state`. This API returns a maximum of 10,000 datafeeds.
2286
+
* Get datafeed stats. You can get statistics for multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can get statistics for all datafeeds by using `_all`, by specifying `*` as the `<feed_id>`, or by omitting the `<feed_id>`. If the datafeed is stopped, the only information you receive is the `datafeed_id` and the `state`. This API returns a maximum of 10,000 datafeeds.
2287
2287
* @see {@link https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-get-datafeed-stats | Elasticsearch API documentation}
0 commit comments