Skip to content

Releases: elastic/elasticsearch-net

5.0.0-alpha1

29 Apr 10:48
Compare
Choose a tag to compare
5.0.0-alpha1 Pre-release
Pre-release

This is the first alpha release of Elasticsearch.Net and NEST 5.x, compatible with Elasticsearch 5.0.0-alpha1 release

Breaking Changes

  • #2044 Change to HasParentQuery scoring
  • #2025 NonStringIndexOption changed from enum to bool
  • #2013 New Completion Suggester API
  • #2012 Cat API changes
  • #2011 Update ClusterStatsResponse
  • #2010 Allocation Changes
  • #2009 Indices settings changes
  • #2008 Update CPU and Suggest stats on cluster and node stats
  • #2007 Deprecated percolate API in favour of percolator type
  • #2006 Remove IMappingTransform. Use Ingest node instead.
  • #2005 Remove NumericFielddataFormat.DocValues
  • #2004 Norms now take a boolean instead of an INorms type
  • #2003 Default Number type is now float and not double (inference will still do the right thing for CLR numeric types).
  • #2001 Align top level hits with new format
  • #2000 Remove Deprecated APIs
  • #1999 Remove search_type=count
  • #1998 Index property now only accepts true/false
  • #1997 Changes to queries
  • #1996 Remove Deprecated queries

Features

  • #2007 New percolator type
  • #2002 New text and keyword types - replace string type, which is deprecated.
  • #1985 Update by query support
  • #1927 Add support for Task cancel API
  • #1926 Add support for Task list API
  • #1925 Add support for Reindex API
  • #1924 Add support for Render Search Template
  • #1923 Add support for Indices Shard Stores
  • #1922 Add support for force merge
  • #1921 Add support for cat snapshots
  • #1920 Add support for cat repositories
  • #1919 Add support for cat segments
  • #2053 Add support for shield APIs
  • #2034 Add support for license APIs
  • #2031 Add support for Graph API
  • #2021 Verbatim and Strict queries
  • #1935 Add support for Profile API
  • #2065 Add support for Ingest Pipeline API

Bug fixes

  • #2054 Don't allow posting null for bulk api
  • #2027 position_offset_gap renamed to position_increment_gap
  • #2022 ToTimeUnit() should not convert to years from TimeSpan
  • #1945 fix serialization issue with script query mapping
  • #1870 MultiMatch Fields needs Fields(Fields fields) overload

2.3.0

22 Apr 20:53
Compare
Choose a tag to compare

Features

  • #2031 Added support for the graph API
  • #2034 Added support for the license related API's
  • #2053 Added support for the shield related API's

Bug Fixes

  • #2054 Do not allow passing a null selector to Bulk() and fixed a NRE in DebugInformation
  • #2021 Multiple fixes around setting Verbatim and Strict on queries

2.2.0

12 Apr 20:21
Compare
Choose a tag to compare

Features

  • #1985 Added support for the update by query API
  • #1927 Added support for the tasks cancel API
  • #1926 Added support for the tasks list API
  • #1925 Added support for the reindex API

Bug Fixes

  • #1980 Specifying a null required route value is now a noop
  • #1979 Mappings: .Index(NonStringIndexOption) now defaults to not_analyzed
  • #2029 Mappings: Mark PositionOffsetGap as obsolete in favor of PositionIncrementGap
  • #2014 Aggregations: Exposed the BucketsPath property on SingleBucketsPath (ty @jonyadamit)
  • #2022 .ToTimeUnit() will no longer serialize to year units in the low-level client

2.1.1

05 Apr 02:51
Compare
Choose a tag to compare

Features

  • #1965 Add Missing Pipeline Aggregations: StatsBucket, ExtendedStatsBucket and PercentilesBucket. Many thanks to @jonyadamit for the PR 👍
  • #1981 Ensure AggregationVisitor is able to visit all types of Aggregation

Bug Fixes

  • #1983 Correct combining of two bool should queries when wrapped in a bool must query
  • #1982 Sigma should be a nullable double on ExtendedStatsBucket aggregation
  • #1964 Set the ComparisonValue when instantiating a Field using the constructor.

2.1.0

30 Mar 02:24
Compare
Choose a tag to compare

Features

Documentation for Elasticsearch.Net and NEST 2.x

  • #1935 Add support for the Profile API
  • #1924 Add support for render search template
  • #1923 Add support for indices shard stores
  • #1922 Add support for force merge
  • #1921 Add support for cat snapshots
  • #1920 Add support for cat repositories
  • #1919 Add support for cat segments

Bugs/Fixes

  • #1863 Sort failing due to serialization error
  • #1929 Handle null _score inside ConcreteTypeConverter
  • #1928 and #1952 Capture the Response bytes and HTTP status code when a BadAuth Response occurs and do not throw a serialization exception when attempting to deserialize (the response may not be json e.g. could be using a proxy for auth)
  • #1947 Remove RethrowKeepingStackTrace in favour of simply throwing the exception; the former was an artifact of the older TPL-based async implementation which is unnecessary with the async/await async implementation
  • #1931 Fix bug in Filter Aggregation with script
  • #1930 Fix bug in TermsQueryDescriptor where passing an IEnumerable<T> to Terms<T>() without specifying T, results in the params T[] overload being called
  • #1917 Fix bug in FieldStats when less than or equal to comparison used on Index constraint
  • #1870 allow .Fields(Fields) everywhere

2.0.5

15 Mar 16:26
Compare
Choose a tag to compare

#1856 Fix DisableDirectStreaming not taking on error responses
#1860 Fix deserialization exception on GetIndex() when refresh_interval == -1
#1868 Add support for term filtering on _termvector and _mtermvector
#1880 Fix handling of the month/year intervals and serialization fixes for the Time class
#1887 Fix handling of return types when using the low-level client (ty @rossbrower)
#1901 Fix deserialization of known errors even if the response isn't valid JSON
#1904 Fix OnRequestCompleted not invoked when an exception is thrown

1.8.0

07 Mar 22:35
Compare
Choose a tag to compare

Upgraded to Json.NET 8

1.7.2

07 Mar 18:23
Compare
Choose a tag to compare

#1861 Limit NEST dependency to Elasticsearch.Net < 2.0.0
#1781 Raise upper limit on Newtonsoft.Json dependency
#1734 DynamicTemplates: Unable to specify FieldIndexOption.NotAnalyzed (generic mapping descriptor missing enum overload for index())
#1682 Add ability to specify type selector on scroll (ty @bytenik)
#1680 Raw query serialization fixes
#1634 Fix NRE in SniffingConnectionPool when running on Mono
#1626 DateHistogram aggregation: parse dates using DateTimeKind.Utc
#1614 Add ability to pass a TextWriter to EnableTrace (ty @ammachado)
#1609 Fix serialization when indexing a JObject (don't treat it as an IEnumerable<object>)
#1600 Mark MultiField property descriptor obsolete (ty @TheFireCookie)
#1595 SuggestOption missing Highlighted field
#1591 Fix missing search and index routing from _cat aliases response (ty @robertlyson)
#1589 Fix premature disposal of request state when using async
#1587 Add support for detect_noop to the update API (ty @robertlyson)
#1570 #1655 Fix serialization of PercolateDescriptor and add missing _score to PercolateResponse (ty @mikelazell)
#1568 Fix minor type in xmldocs (ty @SeanKillen)
#1566 Filter aggregation did not support raw JSON
#1563 Fix serialization of protected_words_path in the word delimitor token filter (ty @robertlyson)
#1599 Add missing RandomScore to FunctionScoreFunctionsDescriptor
#1553 Add HighlightQuery to HighlightFieldDescriptor (ty @Settler)

2.0.4

02 Mar 16:34
Compare
Choose a tag to compare

#1869 Improvements to DebugInformation and NRE fix when dispatch failed
#1867 Fixed meta data serialization of register percolator
#1866 Add missing values to multi term vectors response
#1845 Fixed missing information (CausedBy) from ElasticsearchClientException

2.0.3

01 Mar 19:32
Compare
Choose a tag to compare

#1852 Overriding auto mapped properties caused duplicates and ensure AutoMap is an idempotent operation
#1836 GeoUnit and DistanceType ignored when sorting
#1826 Fix NullReferenceException in attachment mapping
#1819 Boost factor on fields wasn't being serialized
#1857 #1858 Enum cache should be concurrent and cache all code paths
#1814 GeoLocation implicit conversion fixes (ty @niemyjski)
#1810 StickyConnectionPool implementation (ty @Romanx)