[TEST] Add test specifying fields field /_cat/fielddata REST test
This commit is contained in:
parent
6678da8c28
commit
90e019b4a4
|
@ -50,3 +50,14 @@
|
||||||
$body: |
|
$body: |
|
||||||
/^ total \s+ foo \s+ \n
|
/^ total \s+ foo \s+ \n
|
||||||
(\s*\d+(\.\d+)?[gmk]?b \s+ \d+(\.\d+)?[gmk]?b \s \n)+ \s*$/
|
(\s*\d+(\.\d+)?[gmk]?b \s+ \d+(\.\d+)?[gmk]?b \s \n)+ \s*$/
|
||||||
|
|
||||||
|
- do:
|
||||||
|
cat.fielddata:
|
||||||
|
h: total,foo
|
||||||
|
fields: notfoo,foo
|
||||||
|
v: true
|
||||||
|
|
||||||
|
- match:
|
||||||
|
$body: |
|
||||||
|
/^ total \s+ foo \s+ \n
|
||||||
|
(\s*\d+(\.\d+)?[gmk]?b \s+ \d+(\.\d+)?[gmk]?b \s \n)+ \s*$/
|
||||||
|
|
Loading…
Reference in New Issue