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
-[Paths and HTTP methods](#paths-and-http-methods)
10
+
-[Endpoints](#endpoints)
11
11
12
12
## Introduction
13
13
@@ -49,7 +49,13 @@ bundle exec jekyll spec-insert
49
49
If you are working on multiple Markdown files and do not want to keep running the `jekyll spec-insert` command, you can add the `--watch` (or `-W`) flag to the command to watch for changes in the Markdown files and automatically render the API components:
50
50
51
51
```shell
52
-
bundle exec jekyll spec-insert --watch
52
+
bundle exec jekyll spec-insert -W
53
+
```
54
+
55
+
By default, when the plugin encounters an error when processing a file, the plugin prints out the error than moves on to the next file. If you want it to short-circuit when an error occurs, add the `--fail-on-error` (or `-F`) flag to the command:
56
+
57
+
```shell
58
+
bundle exec jekyll spec-insert -F
53
59
```
54
60
55
61
Depending on the text editor you are using, you may need to manually reload the file from disk to see the changes applied by the plugin if the editor does not automatically reload the file periodically.
The `spec-insert` plugin ignores all files and folders listed in the [./_config.yml#exclude](./_config.yml) list, which is also the list of files and folders that Jekyll ignores.
65
71
72
+
### Configuration
73
+
You can update the configuration settings for this plugin through the [config.yml](./spec-insert/config.yml) file.
74
+
75
+
_Note that tests for this plugin use a mock configuration [file](./spec-insert/spec/mock_config.yml) to assure that the tests still pass when the config file is altered. The expected output for the tests is based on the mock configuration file and will look different from the actual output when the plugin is run._
76
+
66
77
## CI/CD
67
78
The `spec-insert` plugin is run as part of the CI/CD pipeline to ensure that the API components are up to date in the documentation. This is performed through the [update-api-components.yml](.github/workflows/update-api-components.yml) GitHub Actions workflow, which creates a pull request containing the updated API components every Sunday.
68
79
69
80
## Spec insert components
70
81
All spec insert components accept the following arguments:
71
82
-`api` (String; required): The name of the API to render the component from. This is equivalent to the `x-operation-group` field in the OpenSearch OpenAPI Spec.
72
-
-`component` (String; required): The name of the component to render, such as `query_parameters`, `path_parameters`, or `paths_and_http_methods`.
83
+
-`component` (String; required): The name of the component to render, such as `query_parameters`, `path_parameters`, or `endpoints`.
73
84
-`omit_header` (Boolean; Default is `false`): If set to `true`, the markdown header of the component will not be rendered.
74
85
75
-
### Paths and HTTP methods
76
-
To insert paths and HTTP methods for the `search` API, use the following snippet:
86
+
### Endpoints
87
+
To insert endpoints for the `search` API, use the following snippet:
Copy file name to clipboardexpand all lines: TERMS.md
+18-2
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Use to describe a list of items that are allowed (not blocked). Do not use as a
46
46
47
47
**Amazon OpenSearch Service**
48
48
49
-
Amazon OpenSearch Service is a managed service that makes it easy to deploy, operate, and scale OpenSearch clusters in the AWS Cloud. Amazon OpenSearch Service is the successor to Amazon Elasticsearch Service (Amazon ES) and supports OpenSearch and legacy Elasticsearch OSS (up to 7.10, the final open-source version of the software).
49
+
Use "Amazon OpenSearch Service" on first appearance; "OpenSearch Service" is acceptable for subsequent appearances. Amazon OpenSearch Service is a managed service that makes it easy to deploy, operate, and scale OpenSearch clusters in the AWS Cloud. Amazon OpenSearch Service is the successor to Amazon Elasticsearch Service (Amazon ES) and supports OpenSearch and legacy Elasticsearch OSS (up to 7.10, the final open-source version of the software).
50
50
51
51
**Anomaly Detection**
52
52
@@ -196,6 +196,10 @@ Use data is, not data are. Don't use datas. Use pieces of data or equivalent to
196
196
197
197
**data center**
198
198
199
+
**OpenSearch Data Prepper**
200
+
201
+
Use "OpenSearch Data Prepper" on first appearance; "Data Prepper" is acceptable for subsequent appearances. OpenSearch Data Prepper is a server-side data collector capable of filtering, enriching, transforming, normalizing, and aggregating data for downstream analytics and visualization. Data Prepper also lets users build custom pipelines to improve the operational view of applications.
202
+
199
203
**dataset**
200
204
201
205
**data source**
@@ -299,6 +303,8 @@ Exception: *Execution* is unavoidable for third-party terms for which no alterna
299
303
300
304
**Faiss**
301
305
306
+
Facebook AI Similarity Search. Do not define on first appearance. Faiss is a library that allows developers to quickly search for embeddings of multimedia documents that are similar to each other.
307
+
302
308
**file name**
303
309
304
310
**frontend (n., adj.)**
@@ -501,6 +507,10 @@ Do not use. Use *management account* instead.
501
507
502
508
Avoid. Use _can_ or _might_ instead.
503
509
510
+
**MS MARCO**
511
+
512
+
Microsoft Machine Reading Comprehension. Do not define on first appearance. MS MARCO is a collection of datasets focused on deep learning in search.
513
+
504
514
**multilayer, multilayered**
505
515
506
516
**must, shall, should**
@@ -521,6 +531,10 @@ Use _near real time_ as a noun; use near real-time as an adjective. Don't add a
521
531
522
532
Spell out _near real time_ on first mention; _NRT_ can be used on subsequent mentions.
523
533
534
+
**NMSLIB**
535
+
536
+
Non-Metric Space Library. Do not define on first appearance. NMSLIB is an efficient similarity search library and a toolkit for evaluation of k-NN methods for generic non-metric spaces.
537
+
524
538
**node**
525
539
526
540
A server that stores your data and processes search requests with OpenSearch, usually as part of a cluster. Do not use _master node_ and avoid using _worker node_.
@@ -650,6 +664,8 @@ Copy of a primary shard. Helps improve performance when using indexes across mul
650
664
651
665
Use as a synonym for repository, on second and subsequent use.
652
666
667
+
**retrieval-augmented generation (RAG)**
668
+
653
669
**RPM Package Manager (RPM)**
654
670
655
671
Formerly known as RedHat Package Manager. An open-source package management system for use with Linux distributions.
@@ -698,7 +714,7 @@ Do not use. Use *replica*, *secondary*, or *standby* instead.
Copy file name to clipboardexpand all lines: _about/version-history.md
+1
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ permalink: /version-history/
9
9
10
10
OpenSearch version | Release highlights | Release date
11
11
:--- | :--- | :---
12
+
[2.19.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.19.0.md) | Adds workload management, additional query insights, and template queries. Introduces a query insights page to OpenSearch Dashboards. Includes improvements and bug fixes to snapshots, search statistics, star-tree search, and index management. For a full list of release highlights, see the Release Notes. | 11 February 2025
12
13
[2.18.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.18.0.md) | Adds a redesigned home page, updated Discover interface, and collaborative workspaces to OpenSearch Dashboards. Includes improvements to ML inference processor and query grouping. Introduces reranking by field and paginated CAT APIs. Includes experimental OpenSearch Dashboards Assistant capabilities. For a full list of release highlights, see the Release Notes. | 05 November 2024
13
14
[2.17.1](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.17.1.md) | Includes bug fixes for ML Commons, anomaly detection, k-NN, and security analytics. Adds various infrastructure and maintenance updates. For a full list of release highlights, see the Release Notes. | 1 October 2024
14
15
[2.17.0](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.17.0.md) | Includes disk-optimized vector search, binary quantization, and byte vector encoding in k-NN. Adds asynchronous batch ingestion for ML tasks. Provides search and query performance enhancements and a new custom trace source in trace analytics. Includes application-based configuration templates. For a full list of release highlights, see the Release Notes. | 17 September 2024
Copy file name to clipboardexpand all lines: _aggregations/bucket/terms.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ While the `doc_count` field provides a representation of the number of individua
112
112
* The field does not support nested arrays; only positive integers can be used.
113
113
* If a document does not contain the `_doc_count` field, aggregation uses the document to increase the count by 1.
114
114
115
-
OpenSearch features that rely on an accurate document count illustrate the importance of using the `_doc_count` field. To see how this field can be used to support other search tools, refer to [Index rollups](https://opensearch.org/docs/latest/im-plugin/index-rollups/index/), an OpenSearch feature for the Index Management (IM) plugin that stores documents with pre-aggregated data in rollup indexes.
115
+
OpenSearch features that rely on an accurate document count illustrate the importance of using the `_doc_count` field. To see how this field can be used to support other search tools, refer to [Index rollups]({{site.url}}{{site.baseurl}}/im-plugin/index-rollups/index/), an OpenSearch feature for the Index Management (IM) plugin that stores documents with pre-aggregated data in rollup indexes.
0 commit comments