File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,21 @@ pr: 131559
22summary : Add support for LOOKUP JOIN on multiple fields
33area : ES|QL
44type : enhancement
5- issues : [ ]
5+ issues : []
6+ highlight :
7+ title : Add support for Lookup Join on Multiple Fields
8+ body : " Add support for Lookup Join on Multiple Fields\n\n ```\n FROM index1\n | LOOKUP\
9+ \ JOIN lookup_index on field1, field2\n ```\n\n Removed some checks to allow lookup\
10+ \ join on multiple fields. Added a new\n interface LookupEnrichQueryGenerator,\
11+ \ that can be used to get total\n number of queries and queries by position. The\
12+ \ rest of the methods from\n QueryGenerator are not needed by AbstractLookupService.\
13+ \ \n\n That allowed the creation of a new class ExpressionQueryList implements\n \
14+ LookupEnrichQueryGenerator, which is responsible for creating the AND\n query for\
15+ \ the different fields. We will likely need to enhance it in the\n future to support\
16+ \ expressions that include OR and NOT as well. \n\n TransportRequest is enhanced\
17+ \ to now support `List<MatchConfig>`\n matchFields instead of `String matchField`.\
18+ \ This is how we pass the\n match fields around now. If we are communicating with\
19+ \ an cluster that\n does not support LookupOnMultipleFields and it is needed by\
20+ \ the query we\n will fail the query. This can happen during rolling upgrade or\
21+ \ CCS."
22+ notable : true
You can’t perform that action at this time.
0 commit comments