Skip to content

Commit

Permalink
Revert "[7.x] Removing the "type" from the deleteByQuery that esArchi…
Browse files Browse the repository at this point in the history
…ver uses (#37507) (#37514)"

This reverts commit 2b791d2.
  • Loading branch information
spalger committed May 30, 2019
1 parent 2b791d2 commit e40f718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/es_archiver/lib/indices/kibana_index.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export async function cleanKibanaIndices({ client, stats, log, kibanaUrl }) {
bool: {
must_not: {
ids: {
type: '_doc',
values: ['space:default'],
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export function fetchAnchorProvider(indexPatterns, Private) {
constant_score: {
filter: {
ids: {
type: anchorType,
values: [anchorId],
},
},
Expand Down

0 comments on commit e40f718

Please sign in to comment.