5.6.0
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.Aggsaggregation helper onISearchResponse<T> - #2847 Add
shard_min_doc_countparameter for Significant Terms Aggregation - #2868 Add
sigmaproperty 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=falseto disable automatic proxy detection. thanks @codeh 👍 - #2943 Support non-string values for sort missing by introducing a
MissingValueproperty. DeprecateMissingwithObsoleteAttributeand 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
Timewithin the client, including fractional units - #2828 and #2962 Support DateMath for DateHistogram ExtendedBounds by introducing an
ExtendedBoundsDateMathproperty of typeExtendedBounds<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
ParamsonITemplateQuery, but copy Params over if used. - #2864 and #2878 Append
date_optional_timeto Format when Missing is specified - #2871 and #2872 Deserialize error property on
MultiGetResponseitems - #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
PingTimeoutfor the request timeout. thanks @Vaibhav1192 👍 - #2812 When marking a terms query as
Verbatimwhere the terms is an empty collection, serialize to an empty array - #2816 Add overloaded constructor for
AzureRepositoryso thatGetRepositorydoes 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 👍