Use unsigned_long for field indexed_document_volume (#155014)

## Summary

### Part of https://github.com/elastic/connectors-python/issues/735

The field `indexed_document_volume` (in bytes) in
`.elastic-connectors-sync-jobs` is of type `integer`, which can hold a
maximum value of `2^31-1`, which is equivalent to 2-ish GB. This PR
changes it to `unsigned_long`, which can hold a maximum value of
`2^64-1`, which is equivalent to 18-ish Exa Bytes (1 Exa Byte = 1000
PB).



### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
Chenhui Wang 2023-04-17 22:59:48 +08:00 committed by GitHub
parent 049b7c8866
commit 47c71b3025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -214,7 +214,7 @@ describe('Setup Indices', () => {
deleted_document_count: { type: 'integer' },
error: { type: 'keyword' },
indexed_document_count: { type: 'integer' },
indexed_document_volume: { type: 'integer' },
indexed_document_volume: { type: 'unsigned_long' },
last_seen: { type: 'date' },
metadata: { type: 'object' },
started_at: { type: 'date' },

View file

@ -238,7 +238,7 @@ const indices: IndexDefinition[] = [
deleted_document_count: { type: 'integer' },
error: { type: 'keyword' },
indexed_document_count: { type: 'integer' },
indexed_document_volume: { type: 'integer' },
indexed_document_volume: { type: 'unsigned_long' },
last_seen: { type: 'date' },
metadata: { type: 'object' },
started_at: { type: 'date' },