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
Copy file name to clipboardExpand all lines: docs/reference/query-languages/esql/esql-lookup-join.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,14 @@ For example, you can use `LOOKUP JOIN` to:
33
33
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.
34
34
35
35
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
+
39
41
```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
0 commit comments