Skip to content

Commit 8b2594b

Browse files
Address docs issues
1 parent dd52c02 commit 8b2594b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

docs/changelog/131559.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pr: 131559
2-
summary: Add support for Lookup Join on Multiple Fields
2+
summary: Add support for LOOKUP JOIN on multiple fields
33
area: ES|QL
44
type: enhancement
55
issues: [ ]

docs/reference/query-languages/esql/esql-lookup-join.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,14 @@ For example, you can use `LOOKUP JOIN` to:
3333
The `LOOKUP JOIN` command adds fields from the lookup index as new columns to your results table based on matching values in the join field.
3434

3535
The command requires two parameters:
36-
- The name of the lookup index (which must have the `lookup` [`index.mode setting`](/reference/elasticsearch/index-settings/index-modules.md#index-mode-setting))
37-
- The name of the field to join on
38-
36+
* The name of the lookup index (which must have the `lookup` [`index.mode setting`](/reference/elasticsearch/index-settings/index-modules.md#index-mode-setting))
37+
* The field(s) to join on. Can be either:
38+
* A single field name
39+
* A comma-separated list of field names {applies_to}`stack: ga 9.2`
40+
3941
```esql
40-
LOOKUP JOIN <lookup_index> ON <field_name>
42+
LOOKUP JOIN <lookup_index> ON <field_name> # Join on a single field
43+
LOOKUP JOIN <lookup_index> ON <field_name1>, <field_name2>, <field_name3> # Join on multiple fields
4144
```
4245

4346
:::{image} ../images/esql-lookup-join.png

0 commit comments

Comments
 (0)