FieldStatistics.cs class has int values but can get from indexes long values
See original GitHub issueNEST/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):
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
How can I check that a sequence of indices of type int ...
If I have a collection of Column objects, I am looking for a way to test if their indices are contiguous. By contiguous...
Read more >Indexes: integer vs string performance if the number of ...
Short answer: integer is faster than varchar or text in every aspect. Won't matter much for small tables and / or short keys....
Read more >Calculate Geometry Attributes (Data Management)—ArcGIS Pro
Count attributes are written to long integer fields; area, length, and x-, y-, z-coordinate, and m-value attributes are written to double fields; and...
Read more >T
ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the . ... <param name="offset">The index to start extracting...
Read more >AP Computer Science A Java Quick Reference - AP Central
Accessible methods from the Java library that may be included in the exam. Class ... Constructs a new Integer object that represents the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@guille11gg 7.6.2 is now released to nuget with this fix: https://www.nuget.org/packages/NEST/7.6.2
hi @guille11gg, I’m looking at putting a new 7.x release out today