Remove unsupported settings from index template (#168968)

## Summary
those settings[ not working
](https://github.com/elastic/kibana/issues/168406#issuecomment-1764527758)
in serverless

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Khristinin Nikita 2023-10-17 02:19:02 +02:00 committed by GitHub
parent bf3877c689
commit 79e9f50dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 7 deletions

View file

@ -286,8 +286,6 @@ describe('RiskEngineDataClient', () => {
template: {
lifecycle: {},
settings: {
auto_expand_replicas: '0-1',
hidden: true,
'index.mapping.total_fields.limit': totalFieldsLimit,
},
mappings: {

View file

@ -305,8 +305,6 @@ export class RiskEngineDataClient {
template: {
lifecycle: {},
settings: {
auto_expand_replicas: '0-1',
hidden: true,
'index.mapping.total_fields.limit': totalFieldsLimit,
},
mappings: {

View file

@ -244,8 +244,6 @@ export default ({ getService }: FtrProviderContext) => {
limit: '1000',
},
},
hidden: 'true',
auto_expand_replicas: '0-1',
},
});
@ -274,7 +272,6 @@ export default ({ getService }: FtrProviderContext) => {
expect(dataStream?.settings?.index?.hidden).to.eql('true');
expect(dataStream?.settings?.index?.number_of_shards).to.eql(1);
expect(dataStream?.settings?.index?.auto_expand_replicas).to.eql('0-1');
const indexExist = await es.indices.exists({
index: latestIndexName,