Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: kolchfa-aws <[email protected]>
  • Loading branch information
kolchfa-aws authored Aug 16, 2024
1 parent 802c1b2 commit 0ad6101
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions _dashboards/discover/dql.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Use the following steps to prepare sample data for querying.

**Step 1: Set up mappings for the index**

On the main menu, select **Management** > **Dev Tools** to open [Dev Tools]({{site.url}}{{site.baseurl}}/dashboards/dev-tools/run-queries/). Send the following request to create index mappings:
On the main menu, select **Management** > **Dev Tools** to open Dev Tools. Send the following request to create index mappings:

```json
PUT testindex
Expand Down Expand Up @@ -107,7 +107,6 @@ Follow these steps to create an index pattern for your index:
1. In **Time field**, select `I don't want to use the time filter`.
1. Select **Create index pattern**.

For more information about index patterns, see [Index patterns]({{site.url}}{{site.baseurl}}/dashboards/management/index-patterns/).

**Step 4: Navigate to Discover and select the index pattern**

Expand Down Expand Up @@ -278,7 +277,7 @@ title: ((wind or windy) and not rises)

To refer to an object's inner field, list the dot path of the field.

To index a document containing an object, follow the steps in the [object field type example]({{site.url}}{{site.baseurl}}/field-types/supported-field-types/object/#example). To search the `name` field of the `patient` object, use the following syntax:
To index a document containing an object, follow the steps in the [object field type example]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/object/#example). To search the `name` field of the `patient` object, use the following syntax:

```python
patient.name: john
Expand All @@ -289,7 +288,7 @@ patient.name: john

To refer to a nested object, list the JSON path of the field.

To index a document containing an object, follow the steps in the [nested field type example]({{site.url}}{{site.baseurl}}/field-types/supported-field-types/nested/#nested-field-type-1).
To index a document containing an object, follow the steps in the [nested field type example]({{site.url}}{{site.baseurl}}/opensearch/supported-field-types/nested/).

To search the `name` field of the `patients` object, use the following syntax:

Expand Down

0 comments on commit 0ad6101

Please sign in to comment.