mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
adding terms query
This commit is contained in:
parent
c02531a494
commit
3efe04e4f5
2 changed files with 7 additions and 8 deletions
|
@ -87,14 +87,8 @@ export function copyToSpaceTestSuiteFactory(
|
|||
body: {
|
||||
size: 0,
|
||||
query: {
|
||||
bool: {
|
||||
must_not: {
|
||||
term: {
|
||||
// exclude spaces from the result set.
|
||||
// we don't assert on these.
|
||||
type: 'space',
|
||||
},
|
||||
},
|
||||
terms: {
|
||||
type: ['visualization', 'dashboard', 'index-pattern'],
|
||||
},
|
||||
},
|
||||
aggs: {
|
||||
|
|
|
@ -39,6 +39,11 @@ export function deleteTestSuiteFactory(es: any, esArchiver: any, supertest: Supe
|
|||
index: '.kibana',
|
||||
body: {
|
||||
size: 0,
|
||||
query: {
|
||||
terms: {
|
||||
type: ['visualization', 'dashboard', 'space', 'config', 'index-pattern'],
|
||||
},
|
||||
},
|
||||
aggs: {
|
||||
count: {
|
||||
terms: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue