generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 181
Closed as duplicate of#4797
Closed as duplicate of#4797
Copy link
Labels
calcitecalcite migration releatedcalcite migration releatedenhancementNew feature or requestNew feature or requestpushdownpushdown related issuespushdown related issues
Description
Is your feature request related to a problem?
#3913 only support dedup pushdown when
- number of retaining events no larger than 1
- dedup field list only contain one field
- the dedup field is one of field of index
- the dedup field type is keyword (or contain keyword subfield) or numeric
For the cases not matched (1) and (2), we can support them by using inner_hits. But currently, the response parser cannot handle inner_hits from response.
What solution would you like?
A better response parser to handle inner_hits and new rule to handle the cases (1) and (2).
To support the case (1):
{
"from": 0,
"size": 10000,
"timeout": "1m",
"_source": false,
"collapse": {
"field": "gender.keyword",
"inner_hits": {
"name": "level_1",
"size": 2,
"_source": {
"includes": [
"account_number",
"gender",
"age"
],
"excludes": []
}
}
}
}
Metadata
Metadata
Assignees
Labels
calcitecalcite migration releatedcalcite migration releatedenhancementNew feature or requestNew feature or requestpushdownpushdown related issuespushdown related issues
Type
Projects
Status
Done