Skip to content

Commit 6ffccb5

Browse files
committed
corrections based on alex's feedback
1 parent 8ae5d05 commit 6ffccb5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/reference/query-languages/esql/esql-enrich-data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For example, you can use `ENRICH` to:
2222
* You are working with structured enrichment patterns
2323
* You can accept having multiple matches combined into multi-values
2424
* You can accept being limited to predefined match fields
25+
* `ENRICH` has a simplified security model. There are no restirctions to specific enrich policies or document and field level security.
2526

2627
### How the `ENRICH` command works [esql-how-enrich-works]
2728

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mapped_pages:
66

77
# LOOKUP JOIN [esql-lookup-join]
88

9-
The {{esql}} [`LOOKUP join`](/reference/query-languages/esql/esql-commands.md#esql-lookup-join) processing command combines, at query-time, data from one or more source indexes with field-value combinations found in an input table. Teams often have data scattered across multiple indices – like logs, IPs, user IDs, hosts, employees etc. Without a direct way to enrich or correlate each event with reference data, root-cause analysis, security checks, and operational insights become time-consuming.
9+
The {{esql}} [`LOOKUP join`](/reference/query-languages/esql/esql-commands.md#esql-lookup-join) processing command combines, at query-time, data from one or more source indexes with correlated information found in an input table. Teams often have data scattered across multiple indices – like logs, IPs, user IDs, hosts, employees etc. Without a direct way to enrich or correlate each event with reference data, root-cause analysis, security checks, and operational insights become time-consuming.
1010

1111
For example, you can use `LOOKUP JOIN` to:
1212

@@ -21,6 +21,7 @@ For example, you can use `LOOKUP JOIN` to:
2121
* Working with regular indices
2222
* Need to preserve distinct matches
2323
* Need to match on any field in a lookup index
24+
* You use document or field level security
2425

2526
## How the `LOOKUP JOIN` command works [esql-how-lookup-join-works]
2627

@@ -87,7 +88,7 @@ FROM Left
8788

8889
To use `LOOKUP JOIN`, you must have:
8990

90-
* Data types of join key and join field in the lookup index need to generally be the same - up to widening of data types, where e.g. `short,byte` are considered equal to `integer`. Also, text fields can be used on the left hand side if and only if there is an exact subfield whose name is suffixed with `.keyword`.
91+
* Data types of join key and join field in the lookup index need to generally be the same. As long as the field data type is structurally capable of handling the data that you are passing through. For example `short,byte` is considered equal to `integer`. Also, text fields can be used on the left hand side if and only if there is an exact subfield whose name is suffixed with `.keyword`.
9192

9293
## Limitations
9394

@@ -96,7 +97,7 @@ The following are the current limitations with `LOOKUP JOIN`
9697
* `LOOKUP JOIN` will be sucessfull if both left and right type of the join are both `KEYWORD` types or if the left type is of `TEXT` and the right type is `KEYWORD`.
9798
* Indices in [lookup](/reference/elasticsearch/index-settings/index-modules.md#index-mode-setting) mode are always single-sharded.
9899
* Cross cluster search is unsupported. Both source and lookup indicies must be local.
99-
* `LOOKUP JOIN` can only use a single match field, and can only use a single index. Wildcards, aliases, and datastreams are not supported.
100+
* `LOOKUP JOIN` can only use a single match field, and can only use a single index. Wildcards, aliases, datemath, and datastreams are not supported.
100101
* The name of the match field in `LOOKUP JOIN lu_idx ON match_field` must match an existing field in the query. This may require renames or evals to achieve.
101102
* The query will circuit break if many documents from the lookup index have the same key. A large heap is needed to manage results of multiple megabytes per key.
102103
* This limit is per page of data which is about about 10,000 rows.

0 commit comments

Comments
 (0)