Update style workflow (#4472)
* Update style workflow with sigv4 and sharding Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Change heading capitalization to work with colons Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Add more words Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Ignore lowercase k in k-NN Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Add sharding Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> --------- Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
5d43fa1be6
commit
b2e62349f3
|
@ -11,6 +11,7 @@ second: '(?:\b[A-Za-z-]+ )+\(([A-Z]{1,3}\/?[A-Z]{1,3}\d{0,2})\)'
|
||||||
exceptions:
|
exceptions:
|
||||||
- API
|
- API
|
||||||
- ASCII
|
- ASCII
|
||||||
|
- AWS
|
||||||
- BASIC
|
- BASIC
|
||||||
- BM25
|
- BM25
|
||||||
- CPU
|
- CPU
|
||||||
|
|
|
@ -2,4 +2,9 @@ extends: capitalization
|
||||||
message: "'%s' is a heading and should be in sentence case."
|
message: "'%s' is a heading and should be in sentence case."
|
||||||
level: error
|
level: error
|
||||||
scope: heading
|
scope: heading
|
||||||
match: $sentence
|
match: $sentence
|
||||||
|
threshold: 1
|
||||||
|
indicators:
|
||||||
|
- ":"
|
||||||
|
exceptions:
|
||||||
|
- k # ignores lowercase k-NN
|
|
@ -0,0 +1,11 @@
|
||||||
|
extends: substitution
|
||||||
|
message: "'%s': Use 'AWS Signature Version 4' instead of '%s' on first appearance. Then, Signature Version 4 may be used. Only use SigV4 when space is limited."
|
||||||
|
ignorecase: true
|
||||||
|
link: 'https://github.com/opensearch-project/documentation-website/blob/main/TERMS.md'
|
||||||
|
level: warning
|
||||||
|
action:
|
||||||
|
name: replace
|
||||||
|
swap:
|
||||||
|
sigv4: Signature Version 4
|
||||||
|
AWS sigv4: AWS Signature Version 4
|
||||||
|
|
|
@ -3,3 +3,5 @@ message: "'%s' is a table heading and should be in sentence case."
|
||||||
level: error
|
level: error
|
||||||
scope: table.header
|
scope: table.header
|
||||||
match: $sentence
|
match: $sentence
|
||||||
|
exceptions:
|
||||||
|
- k # ignores lowercase k-NN
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Alerting plugin
|
Alerting plugin
|
||||||
Anomaly Detection plugin
|
Anomaly Detection plugin
|
||||||
Asynchronous Search plugin
|
Asynchronous Search plugin
|
||||||
|
Crypto plugin
|
||||||
Cross-Cluster Replication plugin
|
Cross-Cluster Replication plugin
|
||||||
Maps plugin
|
Maps plugin
|
||||||
Notebooks plugin
|
Notebooks plugin
|
||||||
|
|
|
@ -53,6 +53,7 @@ Okta
|
||||||
Open Distro
|
Open Distro
|
||||||
OpenID Connect
|
OpenID Connect
|
||||||
OpenSearch
|
OpenSearch
|
||||||
|
OpenSearch Benchmark
|
||||||
OpenSearch Dashboards
|
OpenSearch Dashboards
|
||||||
OpenSearch Project
|
OpenSearch Project
|
||||||
OpenSearch Service
|
OpenSearch Service
|
||||||
|
@ -73,7 +74,6 @@ Querqy
|
||||||
Query Workbench
|
Query Workbench
|
||||||
RPM Package Manager
|
RPM Package Manager
|
||||||
Ruby
|
Ruby
|
||||||
SigV4
|
|
||||||
Simple Schema for Observability
|
Simple Schema for Observability
|
||||||
Tableau
|
Tableau
|
||||||
TorchScript
|
TorchScript
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
[Aa]utomapping
|
[Aa]utomapping
|
||||||
[Aa]utopopulate
|
[Aa]utopopulate
|
||||||
[Bb]ackoff
|
[Bb]ackoff
|
||||||
|
[Bb]ackporting
|
||||||
[Bb]ackpressure
|
[Bb]ackpressure
|
||||||
[Bb]asemap
|
[Bb]asemap
|
||||||
[Bb]igram
|
[Bb]igram
|
||||||
|
@ -53,6 +54,7 @@ Levenshtein
|
||||||
[Ll]ookups?
|
[Ll]ookups?
|
||||||
[Ll]ossy
|
[Ll]ossy
|
||||||
[Ll]owercases?d?
|
[Ll]owercases?d?
|
||||||
|
[Mm]acrobenchmarks?
|
||||||
[Mm]isorder
|
[Mm]isorder
|
||||||
[Mm]ultifield
|
[Mm]ultifield
|
||||||
[Mm]ultiline
|
[Mm]ultiline
|
||||||
|
@ -83,7 +85,9 @@ pebibyte
|
||||||
[Rr]ewriter
|
[Rr]ewriter
|
||||||
[Rr]ollup
|
[Rr]ollup
|
||||||
[Rr]unbooks?
|
[Rr]unbooks?
|
||||||
|
[Ss]harding
|
||||||
[Ss]erverless
|
[Ss]erverless
|
||||||
|
[Ss]harding
|
||||||
[Ss]ignificand
|
[Ss]ignificand
|
||||||
stdout
|
stdout
|
||||||
[Ss]ubaggregation
|
[Ss]ubaggregation
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
# This should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example with OpenSearch should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example with Canada should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example with: OpenSearch should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# This: Should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Step 2: (Optional) Test OpenSearch should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example with something else: Should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example 2: Should not be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example: should be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example 3: should be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example with something else: should be Flagged twice
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example With something else: should be flagged twice
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# Example: with OpenSearch should be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# this should be flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# This Should Be Flagged
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
The King of England should not be flagged.
|
|
@ -54,6 +54,8 @@ This sentence tests rollover as a noun. To roll over, we test this as a verb.
|
||||||
|
|
||||||
This sentence tests setup as a noun. To set up, we test this as a verb.
|
This sentence tests setup as a noun. To set up, we test this as a verb.
|
||||||
|
|
||||||
|
This sentence tests AWS Signature Version 4.
|
||||||
|
|
||||||
This sentence tests the "simple" rule by doing it.
|
This sentence tests the "simple" rule by doing it.
|
||||||
|
|
||||||
These two sentences. Test the spacing punctuation.
|
These two sentences. Test the spacing punctuation.
|
||||||
|
|
|
@ -54,6 +54,8 @@ This sentence tests roll-over as a noun. To rollover, we test this as a verb.
|
||||||
|
|
||||||
This sentence tests set-up as a noun. To setup, we test this as a verb.
|
This sentence tests set-up as a noun. To setup, we test this as a verb.
|
||||||
|
|
||||||
|
This sentence tests AWS SigV4 and sigv4.
|
||||||
|
|
||||||
This sentence simply tests the "simple" rule by just doing it.
|
This sentence simply tests the "simple" rule by just doing it.
|
||||||
|
|
||||||
These two sentences. Test the spacing punctuation.
|
These two sentences. Test the spacing punctuation.
|
||||||
|
|
|
@ -52,6 +52,7 @@ OpenSearch.RolloverNoun = YES
|
||||||
OpenSearch.RolloverVerb = YES
|
OpenSearch.RolloverVerb = YES
|
||||||
OpenSearch.SetupNoun = YES
|
OpenSearch.SetupNoun = YES
|
||||||
OpenSearch.SetupVerb = YES
|
OpenSearch.SetupVerb = YES
|
||||||
|
OpenSearch.SignatureV4 = YES
|
||||||
OpenSearch.Simple = YES
|
OpenSearch.Simple = YES
|
||||||
OpenSearch.SpacingPunctuation = YES
|
OpenSearch.SpacingPunctuation = YES
|
||||||
OpenSearch.SpacingSlash = YES
|
OpenSearch.SpacingSlash = YES
|
||||||
|
|
|
@ -13,7 +13,7 @@ OpenSearch Benchmark is a macrobenchmark utility provided by the [OpenSearch Pro
|
||||||
|
|
||||||
- Tracking the overall performance of an OpenSearch cluster.
|
- Tracking the overall performance of an OpenSearch cluster.
|
||||||
- Informing decisions about when to upgrade your cluster to a new version.
|
- Informing decisions about when to upgrade your cluster to a new version.
|
||||||
- Determining how changes to your workflow—such as modifying mappings or queries—might impact your cluster.
|
- Determining how changes to your workflow---such as modifying mappings or queries---might impact your cluster.
|
||||||
|
|
||||||
OpenSearch Benchmark can be installed directly on a compatible host running Linux and macOS. You can also run OpenSearch Benchmark in a Docker container. See [Installing OpenSearch Benchmark]({{site.url}}{{site.baseurl}}/benchmark/installing-benchmark/) for more information.
|
OpenSearch Benchmark can be installed directly on a compatible host running Linux and macOS. You can also run OpenSearch Benchmark in a Docker container. See [Installing OpenSearch Benchmark]({{site.url}}{{site.baseurl}}/benchmark/installing-benchmark/) for more information.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue