question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ExtendedStats and Percentiles are broken on NEST 7.0.0-alpha1

See original GitHub issue

NEST version: 7.0.0-alpha1

Elasticsearch version: 7.0.1

Simple calls to ExtendedStats or Percentiles generates exceptions:

"message": "An error has occurred.",
    "exceptionMessage": "expected:',', actual:'\"extended_stats#name\"', at offset:402",
    "exceptionType": "Elasticsearch.Net.UnexpectedElasticsearchClientException",
    "stackTrace": "   at Elasticsearch.Net.Transport`1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)\r\n   at Elasticsearch.Net.ElasticLowLevelClient.DoRequest[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters)\r\n   at Nest.ElasticClient.DoRequest[TRequest,TResponse](TRequest p, IRequestParameters parameters, Action`1 forceConfiguration)\r\n   at Nest.ElasticClient.Search[T,TResult](ISearchRequest request)\r\n   at Nest.ElasticClient.Search[T](ISearchRequest request)\r\n   at Nest.ElasticClient.Search[T,TResult](Func`2 selector)\r\n   at Nest.ElasticClient.Search[T](Func`2 selector)\r\n   at ......

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
russcamcommented, May 8, 2019

Closing this as #3724 has been merged and will be in the next release

1reaction
meriturvacommented, May 7, 2019

Here JSON response filtered but seems to still throw that exception during deserialization phase:

test3715.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

Breaking changes in 7.0 | Elasticsearch Guide [7.17]
The percentiles and percentile_ranks aggregations used to return NaN in the response if they were applied to an empty set of values. Because...
Read more >
Percentiles aggregation | Elasticsearch Guide [8.9]
A multi-value metrics aggregation that calculates one or more percentiles over numeric values extracted from the aggregated documents.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found