Skip to content

Commit

Permalink
Merge branch 'main' into fix-render-template-raw
Browse files Browse the repository at this point in the history
  • Loading branch information
kolchfa-aws authored Jul 22, 2024
2 parents 31e9b1f + f3fe8f9 commit 2aecfac
Show file tree
Hide file tree
Showing 120 changed files with 1,202 additions and 118 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_checklist.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Checklist

on:
pull_request:
pull_request_target:
types: [opened]

permissions:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Gemfile.lock
.idea
*.iml
.jekyll-cache
.project
1 change: 1 addition & 0 deletions _about/version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ OpenSearch version | Release highlights | Release date
[2.0.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.1.md) | Includes bug fixes and maintenance updates for Alerting and Anomaly Detection. | 16 June 2022
[2.0.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.0.md) | Includes document-level monitors for alerting, OpenSearch Notifications plugins, and Geo Map Tiles in OpenSearch Dashboards. Also adds support for Lucene 9 and bug fixes for all OpenSearch plugins. For a full list of release highlights, see the Release Notes. | 26 May 2022
[2.0.0-rc1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.0.0-rc1.md) | The Release Candidate for 2.0.0. This version allows you to preview the upcoming 2.0.0 release before the GA release. The preview release adds document-level alerting, support for Lucene 9, and the ability to use term lookup queries in document level security. | 03 May 2022
[1.3.18](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.18.md) | Includes maintenance updates for OpenSearch security. | 16 July 2024
[1.3.17](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.17.md) | Includes maintenance updates for OpenSearch security and OpenSearch Dashboards security. | 06 June 2024
[1.3.16](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.16.md) | Includes bug fixes and maintenance updates for OpenSearch security, index management, performance analyzer, and reporting. | 23 April 2024
[1.3.15](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.15.md) | Includes bug fixes and maintenance updates for cross-cluster replication, SQL, OpenSearch Dashboards reporting, and alerting. | 05 March 2024
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/adjacency-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Adjacency matrix
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 10
redirect_from:
- /query-dsl/aggregations/bucket/adjacency-matrix/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/date-histogram.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Date histogram
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 20
redirect_from:
- /query-dsl/aggregations/bucket/date-histogram/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/date-range.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Date range
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 30
redirect_from:
- /query-dsl/aggregations/bucket/date-range/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/diversified-sampler.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Diversified sampler
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 40
redirect_from:
- /query-dsl/aggregations/bucket/diversified-sampler/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Filter
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 50
redirect_from:
- /query-dsl/aggregations/bucket/filter/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Filters
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 60
redirect_from:
- /query-dsl/aggregations/bucket/filters/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/geo-distance.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geodistance
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 70
redirect_from:
- /query-dsl/aggregations/bucket/geo-distance/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/geohash-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geohash grid
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 80
redirect_from:
- /query-dsl/aggregations/bucket/geohash-grid/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/geohex-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geohex grid
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 85
redirect_from:
- /opensearch/geohexgrid-agg/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/geotile-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geotile grid
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 87
redirect_from:
- /query-dsl/aggregations/bucket/geotile-grid/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/global.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Global
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 90
redirect_from:
- /query-dsl/aggregations/bucket/global/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/histogram.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Histogram
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 100
redirect_from:
- /query-dsl/aggregations/bucket/histogram/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/ip-range.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: IP range
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 110
redirect_from:
- /query-dsl/aggregations/bucket/ip-range/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/missing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Missing
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 120
redirect_from:
- /query-dsl/aggregations/bucket/missing/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/multi-terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Multi-terms
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 130
redirect_from:
- /query-dsl/aggregations/bucket/multi-terms/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/nested.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Nested
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 140
redirect_from:
- /query-dsl/aggregations/bucket/nested/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/range.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Range
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 150
redirect_from:
- /query-dsl/aggregations/bucket/date-range/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/reverse-nested.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Reverse nested
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 160
redirect_from:
- /query-dsl/aggregations/bucket/reverse-nested/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/sampler.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Sampler
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 170
redirect_from:
- /query-dsl/aggregations/bucket/diversified-sampler/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/significant-terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Significant terms
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 180
redirect_from:
- /query-dsl/aggregations/bucket/significant-terms/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/significant-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Significant text
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 190
redirect_from:
- /query-dsl/aggregations/bucket/significant-text/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/bucket/terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Terms
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 200
redirect_from:
- /query-dsl/aggregations/bucket/terms/
Expand Down
2 changes: 1 addition & 1 deletion _aggregations/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: Aggregations
has_children: true
has_children: false
nav_order: 5
nav_exclude: true
permalink: /aggregations/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/average.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Average
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 10
redirect_from:
- /query-dsl/aggregations/metric/average/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/cardinality.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Cardinality
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 20
redirect_from:
- /query-dsl/aggregations/metric/cardinality/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/extended-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Extended stats
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 30
redirect_from:
- /query-dsl/aggregations/metric/extended-stats/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/geobounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geobounds
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 40
redirect_from:
- /query-dsl/aggregations/metric/geobounds/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/geocentroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Geocentroid
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 45
---

Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/matrix-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Matrix stats
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 50
redirect_from:
- /query-dsl/aggregations/metric/matrix-stats/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/maximum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Maximum
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 60
redirect_from:
- /query-dsl/aggregations/metric/maximum/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/median-absolute-deviation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Median absolute deviation
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 65
redirect_from:
- /query-dsl/aggregations/metric/median-absolute-deviation/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/minimum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Minimum
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 70
redirect_from:
- /query-dsl/aggregations/metric/minimum/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/percentile-ranks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Percentile ranks
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 80
redirect_from:
- /query-dsl/aggregations/metric/percentile-ranks/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/percentile.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Percentile
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 90
redirect_from:
- /query-dsl/aggregations/metric/percentile/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/scripted-metric.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Scripted metric
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 100
redirect_from:
- /query-dsl/aggregations/metric/scripted-metric/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Stats
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 110
redirect_from:
- /query-dsl/aggregations/metric/stats/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/sum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Sum
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 120
redirect_from:
- /query-dsl/aggregations/metric/sum/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/top-hits.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Top hits
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 130
redirect_from:
- /query-dsl/aggregations/metric/top-hits/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/value-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Value count
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 140
redirect_from:
- /query-dsl/aggregations/metric/value-count/
Expand Down
1 change: 0 additions & 1 deletion _aggregations/metric/weighted-avg.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Weighted average
parent: Metric aggregations
grand_parent: Aggregations
nav_order: 150
---

Expand Down
1 change: 0 additions & 1 deletion _api-reference/document-apis/reindex.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ version_type | The indexing operation's version type. Valid values are `internal
op_type | Whether to copy over documents that are missing in the destination index. Valid values are `create` (ignore documents with the same ID from the source index) and `index` (copy everything from the source index).
pipeline | Which ingest pipeline to utilize during the reindex.
script | A script that OpenSearch uses to apply transformations to the data during the reindex operation.
source | The actual script that OpenSearch runs.
lang | The scripting language. Valid options are `painless`, `expression`, `mustache`, and `java`.

## Response
Expand Down
2 changes: 1 addition & 1 deletion _api-reference/nodes-apis/nodes-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ thread_pool | Statistics about each thread pool for the node.
fs | File system statistics, such as read/write statistics, data path, and free disk space.
transport | Transport layer statistics about send/receive in cluster communication.
http | Statistics about the HTTP layer.
breaker | Statistics about the field data circuit breakers.
breakers | Statistics about the field data circuit breakers.
script | Statistics about scripts, such as compilations and cache evictions.
discovery | Statistics about cluster states.
ingest | Statistics about ingest pipelines.
Expand Down
13 changes: 12 additions & 1 deletion _automating-configurations/api/deprovision-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ nav_order: 70

When you no longer need a workflow, you can deprovision its resources. Most workflow steps that create a resource have corresponding workflow steps to reverse that action. To retrieve all resources currently created for a workflow, call the [Get Workflow Status API]({{site.url}}{{site.baseurl}}/automating-configurations/api/get-workflow-status/). When you call the Deprovision Workflow API, resources included in the `resources_created` field of the Get Workflow Status API response will be removed using a workflow step corresponding to the one that provisioned them.

The workflow executes the provisioning workflow steps in reverse order. If failures occur because of resource dependencies, such as preventing deletion of a registered model if it is still deployed, the workflow attempts retries.
The workflow executes the provisioning steps in reverse order. If a failure occurs because of a resource dependency, such as trying to delete a registered model that is still deployed, then the workflow retries the failing step as long as at least one resource was deleted.

To prevent data loss, resources created using the `create_index`, `create_search_pipeline`, and `create_ingest_pipeline` steps require the resource ID to be included in the `allow_delete` parameter.

## Path and HTTP methods

Expand All @@ -24,6 +26,7 @@ The following table lists the available path parameters.
| Parameter | Data type | Description |
| :--- | :--- | :--- |
| `workflow_id` | String | The ID of the workflow to be deprovisioned. Required. |
| `allow-delete` | String | A comma-separated list of resource IDs to be deprovisioned. Required if deleting resources of type `index_name` or `pipeline_id`. |

### Example request

Expand Down Expand Up @@ -53,6 +56,14 @@ If deprovisioning did not completely remove all resources, OpenSearch responds w
In some cases, the failure happens because of another dependent resource that took some time to be removed. In this case, you can attempt to send the same request again.
{: .tip}

If deprovisioning required the `allow_delete` parameter, then OpenSearch responds with a `403 (FORBIDDEN)` status and identifies the resources that were not deprovisioned:

```json
{
"error": "These resources require the allow_delete parameter to deprovision: [index_name my-index]."
}
```

To obtain a more detailed deprovisioning status than is provided by the summary in the error response, query the [Get Workflow Status API]({{site.url}}{{site.baseurl}}/automating-configurations/api/get-workflow-status/).

On success, the workflow returns to a `NOT_STARTED` state. If some resources have not yet been removed, they are provided in the response.
Loading

0 comments on commit 2aecfac

Please sign in to comment.