Skip to content

Commit b4d0081

Browse files
authored
Propagate 10324 to 2.10 (#10411)
Signed-off-by: Fanit Kolchina <[email protected]>
1 parent 774a0e4 commit b4d0081

File tree

4 files changed

+61
-133
lines changed

4 files changed

+61
-133
lines changed

_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
title: OpenSearch Documentation
22
description: >- # this means to ignore newlines until "baseurl:"
33
Documentation for OpenSearch, the Apache 2.0 search, analytics, and visualization suite with advanced security, alerting, SQL support, automated index management, deep performance analysis, and more.
4-
baseurl: "/docs/latest" # the subpath of your site, e.g. /blog
5-
url: "https://opensearch.org" # the base hostname & protocol for your site, e.g. http://example.com
4+
baseurl: "/latest" # the subpath of your site, e.g. /blog
5+
url: "https://docs.opensearch.org" # the base hostname & protocol for your site, e.g. http://example.com
66
permalink: /:path/
77

88
opensearch_version: '2.10.0'

_data/top_nav.yml

Lines changed: 52 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,58 @@
11
items:
2-
-
3-
label: OpenSearchCon
4-
fragments:
5-
- opensearchcon
6-
- sessions
7-
- speakers
8-
- exhibitors
9-
- workshops
10-
- unconference
11-
- opensearchcon2023-cfp
2+
- label: About
3+
url: https://opensearch.org/about.html
124
children:
13-
-
14-
label: 2024 - Stay Informed
15-
url: /events/opensearchcon/
16-
-
17-
label: Sessions
18-
url: /events/opensearchcon/sessions/
19-
-
20-
label: Speakers
21-
url: /events/opensearchcon/speakers/
22-
-
23-
label: Exhibitors
24-
url: /events/opensearchcon/exhibitors/
25-
-
26-
label: Workshops
27-
url: /events/opensearchcon/workshops/
28-
-
29-
label: Unconference
30-
url: /events/opensearchcon/unconference/
31-
-
32-
label: CFP is closed
33-
url: /opensearchcon2023-cfp.html
34-
-
35-
label: Download
36-
fragments:
37-
- downloads
38-
- versions
39-
url: /downloads.html
40-
-
41-
label: About
42-
url: /about.html
43-
fragments:
44-
- about
45-
- releases
46-
- roadmap
47-
- faq
48-
children:
49-
-
50-
label: Releases
51-
url: /releases.html
52-
-
53-
label: Roadmap
54-
url: https://github.com/orgs/opensearch-project/projects/1
55-
-
56-
label: FAQ
57-
url: /faq
58-
-
59-
label: Community
60-
fragments:
61-
- events
62-
- community_projects
63-
- blog
64-
- partners
65-
- slack
66-
children:
67-
-
68-
label: Blog
69-
url: /blog
70-
-
71-
label: Forum
72-
url: https://forum.opensearch.org/
73-
-
74-
label: Slack
75-
url: /slack.html
76-
-
77-
label: Events
78-
url: /events
79-
-
80-
label: Partners
81-
url: /partners
82-
-
83-
label: Projects
84-
url: /community_projects
85-
-
86-
label: Documentation
87-
fragments:
88-
- docs
89-
- opensearch
90-
- data-prepper
91-
- clients
92-
- benchmark
93-
url: /docs/latest/
94-
children:
95-
-
96-
label: OpenSearch and Dashboards
97-
url: /docs/latest/about/
98-
-
99-
label: Data Prepper
100-
url: /docs/latest/data-prepper/
101-
-
102-
label: Clients
103-
url: /docs/latest/clients/
104-
-
105-
label: Benchmark
106-
url: /docs/latest/benchmark/
107-
-
108-
label: Platform
109-
url: /platform/index.html
110-
fragments:
111-
- platform
112-
- search
113-
- observability
114-
- security-analytics
115-
- vector-database
116-
- benchmarks
5+
- label: Releases
6+
url: https://opensearch.org/releases.html
7+
- label: Roadmap
8+
url: https://github.com/orgs/opensearch-project/projects/1
9+
- label: FAQ
10+
url: https://opensearch.org/faq/
11+
- label: Platform
12+
url: https://opensearch.org/platform/index.html
11713
children:
11814
- label: Search
119-
url: /platform/search/index.html
15+
url: https://opensearch.org/platform/search/index.html
12016
- label: Observability
121-
url: /platform/observability/index.html
122-
-
123-
label: Security Analytics
124-
url: /platform/security-analytics/index.html
125-
-
126-
label: Vector Database
127-
url: /platform/search/vector-database.html
128-
-
129-
label: Playground Demo
17+
url: https://opensearch.org/platform/observability/index.html
18+
- label: Security Analytics
19+
url: https://opensearch.org/platform/security-analytics/index.html
20+
- label: Vector Database
21+
url: https://opensearch.org/platform/search/vector-database.html
22+
- label: Playground Demo
13023
url: https://playground.opensearch.org/
131-
-
132-
label: Performance Benchmarks
133-
url: /benchmarks
24+
- label: Performance Benchmarks
25+
url: https://opensearch.org/benchmarks/
26+
- label: Community
27+
url: https://opensearch.org/community/
28+
children:
29+
- label: Forum
30+
url: https://forum.opensearch.org/
31+
- label: Slack
32+
url: https://opensearch.org/slack.html
33+
- label: Events
34+
url: https://opensearch.org/events/
35+
class_name: events-page-menu-link__device-based
36+
- label: Solutions Providers
37+
url: https://opensearch.org/solutions-providers/
38+
- label: Projects
39+
url: https://opensearch.org/community_projects/
40+
- label: Members
41+
url: https://opensearch.org/authors-list/
42+
- label: Documentation
43+
url: https://docs.opensearch.org/latest/
44+
children:
45+
- label: OpenSearch and Dashboards
46+
url: https://docs.opensearch.org/latest/about/
47+
- label: Data Prepper
48+
url: https://docs.opensearch.org/latest/data-prepper/
49+
- label: Clients
50+
url: https://docs.opensearch.org/latest/clients/
51+
- label: Benchmark
52+
url: https://docs.opensearch.org/latest/benchmark/
53+
- label: Migration Assistant
54+
url: https://docs.opensearch.org/latest/migration-assistant/
55+
- label: Blog
56+
url: https://opensearch.org/blog/
57+
- label: Download
58+
url: https://opensearch.org/downloads.html

_tuning-your-cluster/availability-and-recovery/segment-replication/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ The following table lists benchmarking results for the `stackoverflow` dataset f
393393

394394
As the number of replicas increases, the amount of time required for primary shards to keep replicas up to date (known as the _replication lag_) also increases. This is because segment replication copies the segment files directly from primary shards to replicas.
395395

396-
The benchmarking results show a non-zero error rate as the number of replicas increases. The error rate indicates that the [segment replication backpressure]({{site.urs}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/segment-replication/backpressure/) mechanism is initiated when replicas cannot keep up with the primary shard. However, the error rate is offset by the significant CPU and memory gains that segment replication provides.
396+
The benchmarking results show a non-zero error rate as the number of replicas increases. The error rate indicates that the [segment replication backpressure]({{site.url}}{{site.baseurl}}/tuning-your-cluster/availability-and-recovery/segment-replication/backpressure/) mechanism is initiated when replicas cannot keep up with the primary shard. However, the error rate is offset by the significant CPU and memory gains that segment replication provides.
397397

398398
## Next steps
399399

assets/js/_version-selector.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,13 +191,16 @@ class VersionSelector extends HTMLElement {
191191

192192
frag.querySelector('#selected').textContent = `${PREFIX}${this.getAttribute('selected')}`;
193193

194-
const pathName = location.pathname.replace(/\/docs(\/((latest|\d+\.\d+)\/?)?)?/, '');
195-
const versionsDOMNodes = DOC_VERSIONS.map((v, idx) => `<a href="/docs/${v}/${pathName}"${v === DOC_VERSION_LATEST ? ' class="latest"' : ''}>${PREFIX}${v}</a>`);
194+
const pathName = location.pathname.replace(/^\/(latest|\d+\.\d+)(\/)?/, '');
195+
const versionsDOMNodes = DOC_VERSIONS.map((v, idx) => v === DOC_VERSION_LATEST
196+
? `<a href="/latest/${pathName}" class="latest">${PREFIX}${v}</a>`
197+
: `<a href="/${v}/${pathName}">${PREFIX}${v}</a>`,
198+
);
196199
if (Array.isArray(DOC_VERSIONS_ARCHIVED) && DOC_VERSIONS_ARCHIVED.length) {
197200
versionsDOMNodes.push(
198201
`<a class="show-archived"><span>Show archived</span><svg xmlns="http://www.w3.org/2000/svg" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6l6-6"/></g></svg></a>`,
199202
`<a class="archived">Archived</a>`,
200-
...DOC_VERSIONS_ARCHIVED.map((v, idx) => `<a href="/docs/${v}/${pathName}">${PREFIX}${v}</a>`)
203+
...DOC_VERSIONS_ARCHIVED.map((v, idx) => `<a href="/${v}/${pathName}">${PREFIX}${v}</a>`)
201204
);
202205
}
203206

0 commit comments

Comments
 (0)