Skip to content

Releases: elastic/elasticsearch-net

1.2.3

11 Nov 15:43
Compare
Choose a tag to compare

This release addresses a compatibility issue with aggregations between NEST and Elasticsearch 1.4. See #1041, #1042, and #1051 for details.

Bug Fixes

  • Fixed NullReferenceException in AggregationsHelper when a bucket aggregation is not found. (#1048) Thank you @mausch.

1.2.2

31 Oct 18:15
Compare
Choose a tag to compare

Bug Fixes

  • Fixed aggregation parsing error when running Elasticsearch 1.4.0.Beta1. (#1025)
  • Fixed Get<T>from treating a 404 (document doesn't exist) as an invalid response. (#1026)
  • Fixed CommonTermsQuery incorrectly serializing to common_terms instead of common. (#1027)
  • Fixed hash collision issue due to incorrect Equals logic in marker classes. (#1029)

1.2.1

22 Oct 22:38
Compare
Choose a tag to compare

Bug Fixes

  • Fixed NullReferenceException in TransportRequestState when Metrics was disabled. (#1009)
  • Fixed null dictionary values from being ignored when serialized even with setting NullValueHandling to Include. (#1004)

1.2.0

20 Oct 19:32
Compare
Choose a tag to compare

New Features

  • Added support for the template query and all search template endpoints. (#959)
  • Added context suggester support. (#927)
  • Added support for the Collate option on the phrase suggester. (#824)
  • Get and MultiGet now support _source at the document level. (#945)
  • Improved consistency across OIS constructors. (#950)
  • Exposed the Raw method on FilterDescriptor. (#999) Thank you @aochsner!
  • Added a FluentDictionary overload on MultiMatchQuery for specifying OnFieldsWithBoost. (#964) Thank you @edwinf!

Bug Fixes

  • GeoBoundingBox Filter: fixed incorrect order of lat and lon coordinates. (#1002)
  • DateHistogram Aggregation: fixed OrderDescending() resulting in ascending order. (#996)
  • Fixed NullReferenceException when mapping date multi fields. (#990)
  • Fixed StackOverflowException and improved performance when using bitwise operators to build bool queries. (#974)
  • Fixed ConstantScoreQuery mistakenly inherting from ICustomScoreQuery. (#987) Thank you @sstranz!

1.1.2

06 Oct 20:52
Compare
Choose a tag to compare

Bug Fixes

  • Fixed condition-less logic in FilteredQuery that caused a query parsing exception in ES. #971
  • Fixed issue where the ignore_unavailable option wasn't being added to _msearch requests. #969
  • Fixed NullReferenceException when using HttpClient. #953
  • Removed NetReflector dependency from the Elasticsearch.Net.Connection.Thrift package. #952
  • NEST no longer throws an exception when using the _analyzed endpoint on an empty string. #962

1.1.1

16 Sep 15:39
Compare
Choose a tag to compare

This release fixes a NRE in the Elasticsearch.Net.Connection.HttpClient package.

The default IConnection interface for NEST was working fine but using the alternative IConnection based on HttpClient would throw a NRE.

1.1.0

16 Sep 15:35
Compare
Choose a tag to compare

New Features

Endpoints

Aggregations

Updated APIs

Bug Fixes

  • Fixed an issue with parsing percentiles aggregation that prevented adjacent aggregations not to be parsed correctly #931
  • HttpClientConnection (an HttpConnection alternative) now supports compressed responses and basic AUTH #947
  • DateExpressionRange was missing the key property ty @taschmidt! #938
  • Term filters did not serialize enums but only wrote there values reported on reopened #535
  • Shard failures on responses did not include the reason property #930
  • Fix occasions where Dictionary<valuetype, something> could not be mapped as object #926
  • Elasticsearch.NET client is now generated from the 1.3.2 spec
  • IndexOptions enum was missing Offsets option, ty @tbrooks007 ! #891
  • In the IndicesStats API TypeNameMarker in the querystring were not resolved properly ty @Tasteful #908
  • Fix #907 new SearchRequest() defaulted to all indices while new SearchRequest<T>() defaulted to the configured default index, the latter is now always the default behaviour for any OIS class.
  • Count() now defaults to GET if no query is specified
  • NEST now plays nicely with clusters that have the rest.action.multi.alow_explicit_index: false set for the various bulk endpoints (_bulk, _mget, _msearch et all). ty @Tasteful! #870
  • Disable proxy detection now defaults to false, this means that NEST plays nicely with Fiddler out of the box. Either defaulting to true or false can cause an initial delay while .NET figures out whether a proxy is configured or not depending on your system, defaulting to false atleast has the added benefit of playing nice with fiddler see #866 for more background.
  • A nested filter that only contained filters was marked as conditionless ty @Philo! #881
  • NEST still used a special notation for multifield mapping, which meant that while generating the correct json it was hard to parse the mapping json back into C# objects. @Tasteful did an amazing job refactoring the mapping API in a backwards compatible manner so that you can branch off into multi_field mapping from any property mapping. see #885. Amazing work from @Tasteful!
  • NEST 1.0 broke the ability to send a verbatim match query #876
  • Some unit tests were missing invariant culure ty @Tasteful
  • Various query string params were generated with an incorrect key see #858 for more background. ty @lakario for reporting this bug!
  • Removed NetReflector as nuget dependency for Elasticsearch.Net.Connection.Thrift package
  • Passing numeric collection to Terms filter and query resulted in a conditionless query #843
  • Validated nuget package restore works correctly using all the new nuget goodness in Xamarin 5.3+
  • @gmarz went over a great deal of the documentation and updated it to be correct following NEST 1.0. He also included a ton of examples using the object initializer syntax.
  • @andersosthus added an advanced aggregation section to the documentation

1.0.2

11 Aug 14:55
Compare
Choose a tag to compare

Bug Fixes

  • Fixed GetMany() from nullifying the _index and _type properties in the request body. #860
  • Fixed term filter producing empty JSON on numeric term values. #843

1.0.1

01 Aug 13:17
Compare
Choose a tag to compare

Bug Fixes

  • Fixed SerializationException being thrown when retrieving mappings. TY @johndaniels #829
  • Fixed ArgumentNullException being thrown when specifying an id property using the ElasticType attribute. #806
  • Disable HTTP pipelining since it isn't supported by Elasticsearch. #830

1.0.0

18 Jul 21:22
Compare
Choose a tag to compare

This is the 1.0.0 GA release! We've made some major improvements since the RC, read more about them here. Thank you to everyone who contributed!

Changelog

  • Streamlined the Update APIs, improving consistency between the Update API and Bulk Update API and better alignment with the Elasticsearch DSL. #795
  • Improved handling of hard exceptions inside async routines, which caused connection failover issues. #803
  • Improved support / bug fixes for the geo_shape query and filter #788
  • Added attribute mapping support for the geo_shape type. 72057a8
  • Fixed function score queries so that filters can be applied to all function types. #799
  • Added score_mode option to Rescore. 79acfeb
  • Fixed invariant culture issue with percentile aggregations. Thank you andersosthus #793
  • Serialize sorts as array instead of dictionary according to the ES REST Spec. #804
  • Added support for sort_mode to all sort types. #770
  • Fixed bug when mapping store via the ElasticProperty attribute. fc512db
  • Fixed async exceptions not bubbling up appropriately. dbdafae
  • Exposed the option to enable/disable automatic proxy detection 9797369
  • Replace confusing ToggleSort() method with Order() on sort descriptors #764
  • Fixed deserialization of GeoBoundingFilter not using invariant culture. We now also force invariant culture on all strings formatted with the .F() extension method.
  • File contents were switched in GeoPointMappingDescriptor and GeoShapeMappingDescriptor. Thank you andersosthus #774
  • Removed unused usings. Thank you tkirill #758