Skip to content

Commit 199fe53

Browse files
authored
[8.19] Allow duplicate Query and ClusterInfo (#5003)
1 parent e5481f6 commit 199fe53

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

compiler/src/steps/validate-model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ export default async function validateModel (apiModel: model.Model, restSpec: Ma
231231
Phases: ['ilm._types', 'xpack.usage'],
232232
Pipeline: ['ingest._types', 'logstash._types'],
233233
Policy: ['enrich._types', 'ilm._types', 'slm._types'],
234+
Query: ['_global.knn_search._types', 'xpack.usage'],
234235
RequestItem: ['_global.msearch', '_global.msearch_template'],
235236
ResponseItem: ['_global.bulk', '_global.mget', '_global.msearch'],
236237
RoleMapping: ['security._types', 'xpack.usage'],

output/schema/validation-errors.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@
1313
"response": []
1414
}
1515
},
16-
"generalErrors": [
17-
"Query is present in multiple namespaces: _global.knn_search._types and xpack.usage"
18-
]
16+
"generalErrors": []
1917
}

0 commit comments

Comments
 (0)