Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws committed Dec 16, 2024
1 parent e9e79c8 commit 3ca1ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _dashboards/management/accelerate-external-data.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Optimize query performance using OpenSearch indexing
title: Optimizing query performance using OpenSearch indexing
parent: Data sources
nav_order: 17
---
Expand Down
6 changes: 2 additions & 4 deletions _dashboards/management/scheduled-query-acceleration.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ To configure SQA, perform the following steps.
Configure the following cluster settings:

- **Enable asynchronous query execution**: Set `plugins.query.executionengine.async_query.enabled` to `true` (default value):

```json
PUT /_cluster/settings
{
Expand All @@ -61,11 +60,10 @@ Configure the following cluster settings:
}
```
{% include copy-curl.html %}

For more information, see [Settings](https://github.com/opensearch-project/sql/blob/main/docs/user/admin/settings.rst#pluginsqueryexecutionengineasync_queryenabled).

- **Configure the external scheduler interval for asynchronous queries**: This setting defines how often the external scheduler checks for tasks, allowing customization of refresh frequency. There is no default value for this setting so you must explicitly configure it. Adjusting the interval based on workload can optimize resources and manage costs:

```json
PUT /_cluster/settings
{
Expand All @@ -75,7 +73,7 @@ Configure the following cluster settings:
}
```
{% include copy-curl.html %}

For more information, see [Settings](https://github.com/opensearch-project/sql/blob/main/docs/user/admin/settings.rst#pluginsqueryexecutionengineasync_queryexternal_schedulerinterval).

### Step 2: Configure Apache Spark settings

Check failure on line 79 in _dashboards/management/scheduled-query-acceleration.md

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.HeadingCapitalization] 'Step 2: Configure Apache Spark settings' is a heading and should be in sentence case. Raw Output: {"message": "[OpenSearch.HeadingCapitalization] 'Step 2: Configure Apache Spark settings' is a heading and should be in sentence case.", "location": {"path": "_dashboards/management/scheduled-query-acceleration.md", "range": {"start": {"line": 79, "column": 5}}}, "severity": "ERROR"}
Expand Down

0 comments on commit 3ca1ea5

Please sign in to comment.