kibana/x-pack/plugins/file_upload
Nathan Reese 2ec121850c
[maps][file upload] remove number_of_shards index setting (#165390)
closes https://github.com/elastic/kibana/issues/165366
closes https://github.com/elastic/kibana/issues/165367
close https://github.com/elastic/kibana/issues/165697
replaces https://github.com/elastic/kibana/pull/165337

Serverless elasticsearch does not support index setting
`number_of_shards`

PR resolves issue be removing `number_of_shards`. When
`number_of_shards` was introduced way back when, the default value was
5. Now the default value is one. Therefore there is no point providing
the setting since its the same as the default. Just removing so code
works across both serverless and traditional deployments

PR also cleans up some types that are duplicative of elasticsearch types

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-09-06 13:20:11 -05:00
..
common [maps][file upload] remove number_of_shards index setting (#165390) 2023-09-06 13:20:11 -05:00
public [maps][file upload] remove number_of_shards index setting (#165390) 2023-09-06 13:20:11 -05:00
server [maps][file upload] remove number_of_shards index setting (#165390) 2023-09-06 13:20:11 -05:00
jest.config.js [jest] update config files to get coverage per plugin (#111299) 2021-09-09 08:14:56 +02:00
kibana.jsonc [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00