Skip to content

Commit 9e9f4e3

Browse files
authored
Some progress on failing runtime fields tests (bring #61098 to master) (#61101)
This breaks apart the a test for the `terms` aggregation into one that work for runtime fields and one that doesn't.
1 parent 1ae9878 commit 9e9f4e3

File tree

1 file changed

+30
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation

1 file changed

+30
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,36 @@ setup:
695695

696696
- match: { indices.test_1.total.fielddata.memory_size_in_bytes: 0}
697697

698+
---
699+
"Global ordinals are loaded with the global_ordinals execution hint":
700+
701+
- do:
702+
index:
703+
refresh: true
704+
index: test_1
705+
id: 1
706+
routing: 1
707+
body: { "str": "abc" }
708+
709+
- do:
710+
index:
711+
refresh: true
712+
index: test_1
713+
id: 2
714+
routing: 1
715+
body: { "str": "abc" }
716+
717+
- do:
718+
index:
719+
refresh: true
720+
index: test_1
721+
id: 3
722+
routing: 1
723+
body: { "str": "bcd" }
724+
725+
- do:
726+
indices.refresh: {}
727+
698728
- do:
699729
search:
700730
index: test_1

0 commit comments

Comments
 (0)