Releases: elastic/elasticsearch-net
2.4.6
Features
- #2112 Support
ReindexRethrottle
when running against Elasticsearch 2.4.0, to allow throttling of longer running tasks such as Reindex and UpdateByQuery APIs. - #2231 Support
field_masking_span
queries. Mapped toSpanFieldMaskingQuery
to align with names of other span queries.
Enhancements
- #2279 Support overloaded
UpdateByQuery()
fluent methods that infer Indices and Types from generic parameter typeT
- #2247 Enable conveniently overriding
JsonSerializerSettings
without the need to implement a custom serializer. Thanks for the PR @jonyadamit 👍
Bug Fixes
- #2261
FieldLookup
now includes aRouting
property. ty @seanwm - #2178 Fix support for custom similarities using
CustomSimilarity
object or.Custom()
fluent method onSimilaritiesDescriptor
- #2170 Resolve to the smallest whole time unit when working with
DateMath
as it does not support fractional values. For example,TimeSpan.FromHours(25)
will serialize to25h
as opposed to round to1d
or fractional value1.04d
. ty @emmekappa - #2209 Improve boolean combinatorial logic when dealing with bool queries with many clauses
- #2168 Mark
.Highlights
onSearchResponse<T>
as obsolete, to be removed in 5.x. It's a leaky abstraction when searching over multiple types that contain the same document id for different types - this will throw an exception. Highlights can be enumerated using
foreach (var hit in searchResponse.HitsMetaData.Hits)
{
foreach (var highlight in hit.Highlights)
{
// do something with highlightHit
var highlightHit = highlight.Value;
}
}
- #2125 Allow use of custom highlighters (expert level option).
HighlightField
now contains aCustomType
string property that can be used to specify a custom highlighter. Core highlighters can still be specified usingType
property. - #2119 Allow use of per field custom similarity (expert level option).
ElasticsearchPropertyAttributeBase
and associated mapping methods allow the use of a custom similiarity through aCustomSimilarity
string property (on attributes and mapping objects) and through the.Similairy(string)
fluent mapping method. Core similarities can still be specified. - #2274 Fix
NullReferenceException
when deserializing a multi-bucket aggregation that contains an empty bucket. - #2263 Do not use
IsoDateTimeConverter
to handleDateTimeOffset
. Take a look at #2268 for howDateTime
andDateTimeOffset
are serialized within NEST.
1.9.1
Features
- #2231 Support
field_masking_span
queries. Mapped toSpanFieldMaskingQuery
to align with names of other span queries. Thanks for the PR @yevhen 👍
Bug Fixes
- #2229 Allow
filter_keys
string array to be specified on call toClearCache()
. The rest api json schema spec incorrectly identified this type asbool
- #2208 Use the specified
Format
when serializing dates withinRangeFilter
- #2191 Correctly deserialize both json representations (string or array of strings) of stop words on analyzers
- #2188 Correctly deserialize templates that contain alias definitions
2.4.5
Features
- 383623e Large performance improvements to MultiGet and MultiSearch calls:
- Cache JsonContracts per ConnectionSettings. It is recommended to share a single instance of
ConnectionSettings
within your application for this reason. - Cache Delegates per ConnectionSettings for constructing items in a MultiGetResponse
- Cache Delegates per ConnectionSettings for constructing items in a MultiSearchResponse
- Reuse Inferrer instance on ConnectionSettings to take advantage of cached data.
- Reduce complexity in
IUrlParameter.GetString()
forIndexName
andTypeName
- Cache JsonContracts per ConnectionSettings. It is recommended to share a single instance of
Thanks to @antonyfrancis for raising this 👍
Bug Fixes
- fced23c Fix description for
refresh
on Index operation
2.4.4
Bug Fixes
- #2197 Fixed instances where modified serialization settings or custom serializers were not being respected by introducing
ISerializerFactory
. The old func based factory set onConnectionSettings
is now obsolete. (TY @tsliang and @mitchknife) - #2198
HttpClientHandler
can now be modified in a customHttpConnection
when running on .NET Core. This makes it possible to validate HTTPS certs by settingServerCertificateValidationCallback
. - #2169 Analyze API parameters have been moved to the request body
- #2217 Added missing filter options to
ITermVectorFilter
- #2213 Added missing meta fields to
IGetResponse<T>
andIMultiHit<T>
- #2219 Added missing
conflicts
option toReindexOnServer
- #2221 Fixed issue with using a sniffing connection pool where a thread could potentially become blocked resulting in a timeout exception (TY @lostllama)
- #2223 Disabling
_source
now properly serializes asfalse
rather thanexclude: ["*"]
(TY @pathikdevani) - #2194 Deprecate Alias on
GetAlias()
in favour ofName
2.4.3
Bug Fixes
- #2193 Add
collate_match
option to the phrase suggester response (TY @HarveyWilliams !) - #2187 Add
relation
andcontains
togeo_shape
queries - #2181 Add
os.cpu_precent
to node stats response (TY @TheFireCookie !)
2.4.2
Bug Fixes
#2173 Fixed UpdateByQuery
from incorrectly reporting successful responses
#2159 Deprecated misnamed Field()
method on SuggestContextDescriptor
in favor of Path()
#2150 Fixed gzip compression when running on .NET Core
#2152 ServerError
on response now properly deserializes recursive error details
#2052 Fixed exception handling issues within SimpleJson
1.9.0
5.0.0-alpha3
.NET Core 1.0 compatible release
This is the first 5.x release that uses the new .NET Core 1.0 RTM release in conjunction with the latest dotnet
tooling (1.0.0-preview2-003121). Included frameworks
- .NET 4.5 (
net45
) - .NET 4.6 (
net46
) - .NET Standard 1.3 (
netstandard1.3
)
The dependency on Json.NET in NEST has also been updated to major version 9.0.0
Massive thanks to @phenixdotnet for the initial PR to move the projects over from using dnx
and .NET Core RC 1 dependencies 👍
This release is targeted at Elasticsearch 5.0.0-alpha3
Bug Fixes
- #2145 Add
size
to source when using the ReIndex API
2.4.1
.NET Core 1.0 compatible release
This is the second 2.x release (first available on nuget 😄) that uses the new .NET Core 1.0 RTM release in conjunction with the latest dotnet
tooling (1.0.0-preview2-003121). Included frameworks
- .NET 4.5 (
net45
) - .NET 4.6 (
net46
) - .NET Standard 1.3 (
netstandard1.3
)
The dependency on Json.NET in NEST has also been updated to major version 9.0.0
Massive thanks to @phenixdotnet for the initial PR to move the projects over from using dnx
and .NET Core RC 1 dependencies 👍
Bug Fixes
- Remove unneccessary dependencies from nuget packages
2.4.0
.NET Core 1.0 compatible release
This is the first 2.x release that uses the new .NET Core 1.0 RTM release in conjunction with the latest dotnet
tooling (1.0.0-preview2-003121). Included frameworks
- .NET 4.5 (
net45
) - .NET 4.6 (
net46
) - .NET Standard 1.3 (
netstandard1.3
)
The dependency on Json.NET in NEST has also been updated to major version 9.0.0
Massive thanks to @phenixdotnet for the initial PR to move the projects over from using dnx
and .NET Core RC 1 dependencies 👍
Bug Fixes
- #2145 Add
size
to source when using the ReIndex API