Skip to content

1.4.0

Compare
Choose a tag to compare
@gmarz gmarz released this 28 Jan 17:31
· 5357 commits to main since this release

Transport Fixes

  • #1093 Do not retry when timeout is hit
  • #1157 Support for TCompactProtocol when using thrift (ty @robertlyson)
  • #1176 Inner Exception not available in MaxRetryException in a couple of scenarios
  • #1159 Thrift connection now listens to connect timeout (ty @eddyzanda)
  • When not using connection pooling, NEST 1.3 ignored the MaxRetries() setting when set explicitly
  • #1203 @aochsner spotted an instance where we were if checking on connect timeout but returning request timeout
  • #1189 Thrift did not work with SniffingConnectionPool at all!
    • Thift IConnection now opens connections as needed as suppose to once in the constructor

We also extended our Shield support:

We now know when you are running a cluster using SSL nodes in this case our default connect timeout is now 2 seconds. We also increased the default connect timeout from 200ms to 1s. From feedback we realized 200ms was a little to stringent in the cloud!
When sniffing whilst using SSL enabled nodes we make sure all the newly discovered nodes are https as well.

Aggregations

  • #1094 support extended_bounds on Histogram (ty @ftoft)
  • #1108 support pre_offset and post_offset on histogram aggregation
  • #1064 filters aggregation support added
  • #1063 scripted metric aggregation support added
  • #1132 children aggregation support added
  • #1168 top hits aggragation did not fully expose all options
  • #1169 Fix parsing of the top hits aggregation response
  • #1180 added missing execution hint options to terms aggregation
  • #1178 add background_filter support on significant_terms aggregation
  • #1206 Made the internal constructor that initializes aggregate responses public (ty @mausch)
  • #994 keys that looked like dates were translated to DateTime first and then tostring'ed
  • #1127 Lang was blatently missing on metric aggregations
  • #1111 Added google normalized distance and chi square to significant_terms agg.
  • #1079 Fix parsing inner aggregations of histograms when they represent ints.
  • #1106 Add pre_offset and post_offset params to histogram aggregation
  • #955 Default date histogram aggregation format to date_optional_time

Endpoint

  • #1115 Coordinated back and restore endpoint (ty @robertlyson)
  • #983 Search exists API
  • #496 Cluster reroute
  • #1098 Repository validation
  • #1084 Snapshot validation
  • #1040 Updrade API
  • #1083 Get Index API
  • #1212 Cat endpoints were missing from IElasticClient
  • #1146 DeleteByQuery responses contained a .Found property from Delete responses that does not exist causing confusion

New Features

  • #1100 Throttling related properties returned under indexing stats
  • #1113 Fluent DSL was missing highlight options on percolate and mpercolate
  • #1103 KeepTypes token filter fix
  • #1104 Support multiple geo points while sorting
  • #407 Configure id property of types in code
  • #1164 NodeInfo now also lists plugins (ty @ptming)
  • #1217 Add matched_queries to search response, NEST only supports named filters for the moment though.
  • #1102 Update API: Add support for scripted upserts
  • #1101 Term Vectors: add support for scripted upserts
  • #1216 FunctionScoreQuery now accepts a collection of functions

Query DSL

  • #1090 relation added to geoshape filter
  • #1099 add support for pre/post/dist to span_not query
  • #1218 Support for has child filters (ty @BuriakovNick!)
  • #1190 indices filter/query now supports all and none as shortcuts to actual filters on no_match_filter
  • #1158 add time_zone parameter to range query and filer

Bug Fixes

  • #1148 Sort information did not survive serialize => deserialize roundtrip
  • #1172 Fix wrong property mapping in SearchShard (ty @UdiBen)
  • #1174 Fix typo in json property name for execution hint
  • #629 Fix exception when deserializing relative Uri's
  • #1214 Function score only accepted weights as long and not as double.
  • #1160 When no default index is set we now default to _all explictly
  • #1154 GetSnapshot() did not parse errors correctly
  • #1209 Also gzip content when sent to Elasticsearch if compression is enabled

Build

  • #1188 Now support gitlink for automatic downloading of source locations straight from github!
  • #1149 We now continuously build on mono as well courtesy of travis!
  • #1207 Refactored build into logical modules
  • #1136 We now build separate .NET 4.5 dlls this to explicitly support dot net core when targeting
    the desktop clr.
  • #1207 We moved to paket since it resolves packages at build time and makes multi targeting that much easier. we might move back to nuget 3.0 once its on future parity with paket. This only affects how we consume nuget packages, we still publish to nuget!

Special Mentions

  • #1181 @amironoff tested filters aggregation on our bleeding edge builds and spotted a very particular parsing error and gave us one of the most detailed reproduce ever!
  • @dpen2000 fixed some casing issues on hour homepage
  • @anshudatta fixed our QueryRaw example in our documentation.