github elastic/elasticsearch-net 5.6.0

latest releases: 8.16.1, serverless-1.1.16, 8.16.0...
6 years ago

This is a large update to the 5.x version of the client! The REST API specs that are used to generate large parts of the client have been updated to 5.6.5.

This release includes all 32 of the Machine Learning APIs available within X-Pack 🤖 📈

Features & Enhancements

  • #2856 Add Machine Learning APIs
  • #2826 Add SerialDifferencing() to the .Aggs aggregation helper on ISearchResponse<T>
  • #2847 Add shard_min_doc_count parameter for Significant Terms Aggregation
  • #2868 Add sigma property on ExtendedStatsAggregation
  • #2879 Include settings, aliases and mappings on RolloverIndexRequest
  • #2880 and #2971 include version on PutIndexTemplateRequest and GetIndexTemplateResponse
  • #2905 Add terminate_after to Count API
  • #2911 Set HttpClientHandler.UseProxy=false to disable automatic proxy detection. thanks @codeh 👍
  • #2943 Support non-string values for sort missing by introducing a MissingValue property. Deprecate Missing with ObsoleteAttribute and fix in 6.x.
  • #2913 Allow all sort options on fluent lambda API of TopHitsAggregation
  • #2843 Add track_scores to TopHitsAggregation

Bug Fixes

  • #2818 and #2976 Several issues related to representations of Time within the client, including fractional units
  • #2828 and #2962 Support DateMath for DateHistogram ExtendedBounds by introducing an ExtendedBoundsDateMath property of type ExtendedBounds<DateMath>
  • #2837 Added missing bool query filter visit on QueryWalker. thanks @jonyadamit 👍
  • #2849 Add Params property to pass params to the collate query for PhraseSuggestCollate. Document not to use Params on ITemplateQuery, but copy Params over if used.
  • #2864 and #2878 Append date_optional_time to Format when Missing is specified
  • #2871 and #2872 Deserialize error property on MultiGetResponse items
  • #2890 and #2957 Include similarity in index settings and add DFISimilarity
  • #2893 Correct serialized property name for preserve_original on AsciiFoldingTokenFilter
  • #2930 Do not capture synchronization context on async calls
  • #2886 Handle deserialization for a single or array of common words on CommonGramsTokenFilter. thanks @awelburn 👍
  • 9328a14 When pinging a node, use the PingTimeout for the request timeout. thanks @vaibhav1192 👍
  • #2812 When marking a terms query as Verbatim where the terms is an empty collection, serialize to an empty array
  • #2816 Add overloaded constructor for AzureRepository so that GetRepository does not throw
  • #2817 Allow setting {dynamic_type} as part of the mapping using .Generic()

Deprecations

  • #2845 deprecate PreOffset and PostOffset and introduce Offset on IHistogramAggregation. thanks @jeroenkoknl 👍
  • #2913 Deprecate .Sort() on fluent lambda API of Top Hits aggregation that allows only field sorting.

Misc

  • 20b2606 Add documentation on how to configure JSON.Net Contract Converters
  • #2831 #2865 Resolve JSON.Net version and next major version from Nest.csproj, to fix NU1603 Warnings. thanks @kwilliamssbs 👍

View the full list of issues and PRs

Don't miss a new elasticsearch-net release

NewReleases is sending notifications on new releases.