Closed
Description
NEST/Elasticsearch.Net version: 7.6.1
Elasticsearch version: 6.8
Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.
This class is getting integers in all their properties: https://github.com/elastic/elasticsearch-net/blob/master/src/Nest/Document/Single/TermVectors/FieldStatistics.cs
Can be the case, when you do a termVectors query, those number are bigger than an integer (long).
Steps to reproduce:
- Query to termVectors: POST https://host/index/_mtermvectors
- An exception is triggered: "Unhandled exception when processing list: efefdb47-0aaf-4244-9c96-7e971cba3c46. - Elasticsearch.Net.UnexpectedElasticsearchClientException: JSON integer 2320738168 is too large or small for an Int32. Path 'docs[0].term_vectors.abstractFull.field_statistics.sum_ttf'
Expected behavior
Be able to map all properties.
Provide ConnectionSettings
(if relevant):
Provide DebugInformation
(if relevant):