Releases: elastic/elasticsearch-net
Releases · elastic/elasticsearch-net
1.4.1
Bug Fixes
- #1236 Aggregation response wasn't being read to completion if it contained a metric result with a null value.
- #1223
FunctionScoreQuery
was missing the Weight function. - #1222 Added the ability to specifiy predefined language-specific stopwords. (ty @danielsilva)
- #1239 Added missing language analyzers: Irish, Latvian, and Sorani. (ty @coreycoto)
1.4.0
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
andpost_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 onsignificant_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 onmetric
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 fromDelete
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
andnone
as shortcuts to actual filters onno_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.
1.3.1
Bug Fixes
- Added
MaxRetryTimeout
to safeguard against retrying timed out queries on other nodes. (#1093) - Added missing
Relation
option to GeoShape filters. (#1090) - Basic authentication mistakenly referred to as basic authorization. Marked all references to
BasicAuthorization
as obsolete in favor ofBasicAuthentication
. (#1117)
1.3.0
New Features
- Improved basic authorization API. (#1035)
- Improved connection pool
401
(Unauthorized) request handling. (#1060) - Added a new connection setting for enabling/disabling HTTP pipelining. (#1032)
- Added a new API for configuring property name mappings on
ConnectionSettings
. (#1062) FunctionScoreQuery
: added support forweight
. (#1071)PhraseSuggester
: added support forhighlight
. (#1007)- Highlighting: added support for highlight_query and matched_fields. (#1076)
- Span queries: added support for
boost
. (#1030) Ty @wbsimms! - Added support for indexed scripts. (#979) Ty @robertlyson!
- Added support for the geohash cell filter. (#1033) Ty again @robertlyson!
- Added
TimedOut
to search responses. (#944) Ty @thegreymatter!
Bug Fixes
SniffingConnectionPool
: Increased ping before sniff default timeout to 200 ms (previously 50 ms). (#1058)Elasticsearch.Net.JsonNet
: downgraded target framework to 4.0 to align withElasticsearch.Net
. (#1053)- Fixed
GetMapping()
so that multiple mappings can be retrieved. (#1066) - Typo fix in
DeleteTemplateAsync
method name. (#1070) Ty @ilivewithian! - Fixed a mapping issue with generic types that had multiple type arguments (#1044). Ty @radiosterne!
- Fixed
NullReferenceException
inMappingWalker
(#1068)
Internal
- Refactored the
Elasticsearch.Net
internals unit tests into more logical units and amended it with unit tests for the way we handle streams internally for all code paths. This gave us enough confidence to refactor our transport layer, giving it less responsibilities. (#1060)
1.2.3
1.2.2
Bug Fixes
- Fixed aggregation parsing error when running Elasticsearch 1.4.0.Beta1. (#1025)
- Fixed
Get<T>
from treating a404
(document doesn't exist) as an invalid response. (#1026) - Fixed
CommonTermsQuery
incorrectly serializing tocommon_terms
instead ofcommon
. (#1027) - Fixed hash collision issue due to incorrect
Equals
logic in marker classes. (#1029)
1.2.1
1.2.0
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 onFilterDescriptor
. (#999) Thank you @aochsner! - Added a
FluentDictionary
overload onMultiMatchQuery
for specifyingOnFieldsWithBoost
. (#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 fromICustomScoreQuery
. (#987) Thank you @sstranz!
1.1.2
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
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.