Skip to content

Commit

Permalink
Fix redirects to latest (opensearch-project#7338)
Browse files Browse the repository at this point in the history
* Fix redirects to latest

Signed-off-by: Fanit Kolchina <[email protected]>

* Histogram redirect

Signed-off-by: Fanit Kolchina <[email protected]>

* Query DSL redirects

Signed-off-by: Fanit Kolchina <[email protected]>

* Fix yaml formatting

Signed-off-by: Fanit Kolchina <[email protected]>

* One more yaml fix

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws authored Jun 10, 2024
1 parent 4fd7505 commit ce18c28
Show file tree
Hide file tree
Showing 52 changed files with 153 additions and 95 deletions.
2 changes: 2 additions & 0 deletions _aggregations/bucket/geohex-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 85
redirect_from:
- /opensearch/geohexgrid-agg/
- /query-dsl/aggregations/geohexgrid-agg/
- /aggregations/geohexgrid/
- /query-dsl/aggregations/geohexgrid/
- /query-dsl/aggregations/bucket/geohex-grid/
Expand Down
1 change: 1 addition & 0 deletions _aggregations/bucket/multi-terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 130
redirect_from:
- /query-dsl/aggregations/bucket/multi-terms/
- /query-dsl/aggregations/multi-terms/
---

Expand Down
1 change: 1 addition & 0 deletions _aggregations/bucket/range.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 150
redirect_from:
- /query-dsl/aggregations/bucket/date-range/
- /query-dsl/aggregations/bucket/range/
---

Expand Down
2 changes: 2 additions & 0 deletions _aggregations/bucket/sampler.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Sampler
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 170
redirect_from:
- /query-dsl/aggregations/bucket/diversified-sampler/
---

# Sampler aggregations
Expand Down
2 changes: 2 additions & 0 deletions _aggregations/bucket/significant-terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Significant terms
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 180
redirect_from:
- /query-dsl/aggregations/bucket/significant-terms/
---

# Significant terms aggregations
Expand Down
2 changes: 2 additions & 0 deletions _aggregations/bucket/significant-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Significant text
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 190
redirect_from:
- /query-dsl/aggregations/bucket/significant-text/
---

# Significant text aggregations
Expand Down
2 changes: 2 additions & 0 deletions _aggregations/bucket/terms.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Terms
parent: Bucket aggregations
grand_parent: Aggregations
nav_order: 200
redirect_from:
- /query-dsl/aggregations/bucket/terms/
---

# Terms aggregations
Expand Down
1 change: 1 addition & 0 deletions _aggregations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nav_order: 5
nav_exclude: true
permalink: /aggregations/
redirect_from:
- /query-dsl/aggregations/aggregations/
- /opensearch/aggregations/
- /query-dsl/aggregations/
- /aggregations/index/
Expand Down
1 change: 1 addition & 0 deletions _api-reference/analyze-apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Analyze API
has_children: true
nav_order: 7
redirect_from:
- /api-reference/analyze-apis/perform-text-analysis/
- /opensearch/rest-api/analyze-apis/
- /api-reference/analyze-apis/
---
Expand Down
1 change: 1 addition & 0 deletions _api-reference/index-apis/get-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Get settings
parent: Index APIs
nav_order: 45
redirect_from:
- /opensearch/rest-api/index-apis/get-settings/
- /opensearch/rest-api/index-apis/get-index/
---

Expand Down
1 change: 1 addition & 0 deletions _api-reference/index-apis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Index APIs
has_children: true
nav_order: 35
redirect_from:
- /opensearch/rest-api/index-apis/index/
- /opensearch/rest-api/index-apis/
---

Expand Down
1 change: 1 addition & 0 deletions _api-reference/index-apis/put-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Create or update mappings
parent: Index APIs
nav_order: 27
redirect_from:
- /opensearch/rest-api/index-apis/put-mapping/
- /opensearch/rest-api/index-apis/update-mapping/
- /opensearch/rest-api/update-mapping/
---
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/command-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ layout: default
title: Command flags
nav_order: 51
parent: Command reference
redirect_from: /benchmark/commands/command-flags/
redirect_from:
- /benchmark/commands/command-flags/
grand_parent: OpenSearch Benchmark Reference
---

Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/compare.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: compare
nav_order: 55
parent: Command reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/commands/compare/
redirect_from:
- /benchmark/commands/compare/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: download
nav_order: 60
parent: Command reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/commands/download/
redirect_from:
- /benchmark/commands/download/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/execute-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: execute-test
nav_order: 65
parent: Command reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/commands/execute-test/
redirect_from:
- /benchmark/commands/execute-test/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: info
nav_order: 75
parent: Command reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/commands/info/
redirect_from:
- /benchmark/commands/info/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/commands/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: list
nav_order: 80
parent: Command reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/commands/list/
redirect_from:
- /benchmark/commands/list/
---

<!-- vale off -->
Expand Down
2 changes: 2 additions & 0 deletions _benchmark/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: default
title: OpenSearch Benchmark Reference
nav_order: 25
has_children: true
redirect_from:
- /benchmark/commands/index/
---

# OpenSearch Benchmark Reference
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/metrics/metric-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: Metric keys
nav_order: 35
parent: Metrics reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/metrics/metric-keys/
redirect_from:
- /benchmark/metrics/metric-keys/
---

# Metric keys
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/metrics/metric-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: Metric records
nav_order: 30
parent: Metrics reference
grand_parent: OpenSearch Benchmark Reference
redirect_from: /benchmark/metrics/metric-records/
redirect_from:
- /benchmark/metrics/metric-records/
---

# Metric records
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/workloads/corpora.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: corpora
parent: Workload reference
grand_parent: OpenSearch Benchmark Reference
nav_order: 70
redirect_from: /benchmark/workloads/corpora/
redirect_from:
- /benchmark/workloads/corpora/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/reference/workloads/indices.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: indices
parent: Workload reference
grand_parent: OpenSearch Benchmark Reference
nav_order: 65
redirect_from: /benchmark/workloads/indices/
redirect_from:
- /benchmark/workloads/indices/
---

<!-- vale off -->
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/user-guide/configuring-benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ layout: default
title: Configuring OpenSearch Benchmark
nav_order: 7
parent: User guide
redirect_from: /benchmark/configuring-benchmark/
redirect_from:
- /benchmark/configuring-benchmark/
---

# Configuring OpenSearch Benchmark
Expand Down
1 change: 1 addition & 0 deletions _benchmark/user-guide/creating-custom-workloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Creating custom workloads
nav_order: 10
parent: User guide
redirect_from:
- /benchmark/user-guide/creating-custom-workloads/
- /benchmark/creating-custom-workloads/
- /benchmark/user-guide/creating-osb-workloads/
---
Expand Down
3 changes: 2 additions & 1 deletion _benchmark/user-guide/installing-benchmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ layout: default
title: Installing OpenSearch Benchmark
nav_order: 5
parent: User guide
redirect_from: /benchmark/installing-benchmark/
redirect_from:
- /benchmark/installing-benchmark/
---

# Installing OpenSearch Benchmark
Expand Down
3 changes: 2 additions & 1 deletion _dashboards/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ title: OpenSearch Dashboards quickstart guide
nav_order: 2
has_children: false
redirect_from:
- /dashboards/quickstart-dashboards/
- /dashboards/get-started/quickstart-dashboards/
- /dashboards/quickstart-dashboards/
---

# OpenSearch Dashboards quickstart guide
Expand Down
2 changes: 2 additions & 0 deletions _dashboards/visualize/maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ grand_parent: Building data visualizations
parent: Using coordinate and region maps
nav_order: 10
redirect_from:
- /dashboards/maps-plugin/
- /dashboards/visualize/maps/
- /dashboards/maps/
---

Expand Down
2 changes: 2 additions & 0 deletions _data-prepper/migrate-open-distro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
layout: default
title: Migrating from Open Distro
nav_order: 30
redirect_from:
- /clients/data-prepper/migrate-open-distro/
---

# Migrating from Open Distro
Expand Down
1 change: 1 addition & 0 deletions _data-prepper/migrating-from-logstash-data-prepper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: default
title: Migrating from Logstash
nav_order: 25
redirect_from:
- /clients/data-prepper/configure-logstash-data-prepper/
- /data-prepper/configure-logstash-data-prepper/
---

Expand Down
1 change: 1 addition & 0 deletions _getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: default
title: Installation quickstart
nav_order: 3
redirect_from:
- /about/quickstart/
- /opensearch/install/quickstart/
- /quickstart/
---
Expand Down
2 changes: 2 additions & 0 deletions _im-plugin/data-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
layout: default
title: Data streams
nav_order: 13
redirect_from:
- /opensearch/data-streams/
---

# Data streams
Expand Down
2 changes: 1 addition & 1 deletion _observing-your-data/event-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: Event analytics
nav_order: 20
redirect_from:
- /observing-your-data/event-analytics/
- /observability-plugin/event-analytics/
---

# Event analytics
Expand Down
Empty file.
2 changes: 2 additions & 0 deletions _query-dsl/compound/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ has_children: true
has_toc: false
nav_order: 40
redirect_from:
- /opensearch/query-dsl/compound/index/
- /query-dsl/compound/index/
- /query-dsl/query-dsl/compound/
- /query-dsl/compound/
---

# Compound queries
Expand Down
1 change: 1 addition & 0 deletions _query-dsl/geo-and-xy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ redirect_from:
- /opensearch/query-dsl/geo-and-xy/index/
- /query-dsl/query-dsl/geo-and-xy/
- /query-dsl/query-dsl/geo-and-xy/index/
- /query-dsl/geo-and-xy/
---

# Geographic and xy queries
Expand Down
3 changes: 2 additions & 1 deletion _query-dsl/query-filter-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ layout: default
title: Query and filter context
nav_order: 5
redirect_from:
- /query-dsl/query-dsl/query-filter-context/
- /opensearch/query-dsl/query-filter-context/
- /query-dsl/query-dsl/query-filter-context/
---

# Query and filter context
Expand Down
3 changes: 2 additions & 1 deletion _query-dsl/term-vs-full-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ layout: default
title: Term-level and full-text queries compared
nav_order: 10
redirect_from:
- /query-dsl/query-dsl/term-vs-full-text
- /query-dsl/query-dsl/term-vs-full-text/
- /opensearch/query-dsl/term-vs-full-text/
---

# Term-level and full-text queries compared
Expand Down
3 changes: 3 additions & 0 deletions _query-dsl/term/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ title: Term-level queries
has_children: true
has_toc: false
nav_order: 20
redirect_from:
- /opensearch/query-dsl/term/
- /query-dsl/term/
---

# Term-level queries
Expand Down
1 change: 1 addition & 0 deletions _search-plugins/neural-sparse-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Neural sparse search
nav_order: 50
has_children: false
redirect_from:
- /search-plugins/neural-sparse-search/
- /search-plugins/sparse-search/
---

Expand Down
1 change: 1 addition & 0 deletions _search-plugins/sql/identifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Identifiers
parent: SQL and PPL
nav_order: 6
redirect_from:
- /observability-plugin/ppl/identifiers/
- /search-plugins/ppl/identifiers/
---

Expand Down
3 changes: 2 additions & 1 deletion _search-plugins/sql/ppl/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ parent: PPL
grand_parent: SQL and PPL
nav_order: 2
redirect_from:
- /search-plugins/ppl/commands/
- /observability-plugin/ppl/commands/
- /search-plugins/ppl/commands/
---

# Commands
Expand Down
Loading

0 comments on commit ce18c28

Please sign in to comment.