Pass runtime_fields from FieldCapabilitiesRequest to FieldCapabilitiesIndexRequest (#69853)

This commit is contained in:
Przemysław Witek 2021-03-03 14:59:01 +01:00 committed by GitHub
parent 926dc4f65b
commit b7fe549a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 6 deletions

View file

@ -73,6 +73,19 @@
- match: {fields.number.double.searchable: true}
- match: {fields.number.double.aggregatable: true}
# make sure runtime_mappings section gets propagated
- do:
field_caps:
index: 'my_remote_cluster:field_caps_index_1'
fields: [number]
body:
runtime_mappings:
number:
type: keyword
- match: {fields.number.keyword.searchable: true}
- match: {fields.number.keyword.aggregatable: true}
- match: {fields.number.keyword.type: keyword}
---
"Get field caps from remote cluster with index filter":
- skip: