Releases: elastic/elasticsearch-net
Releases · elastic/elasticsearch-net
8.14.4
What's Changed
- Generate untagged variants by @flobernd in #8249
- This adds proper support for:
- RangeQuery
- DistanceFeatureQuery
- DecayFunction
- This adds proper support for:
Full Changelog: 8.14.3...8.14.4
Breaking Changes
RangeQuery
is no longer a union. Usage changes from:
var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new RangeQuery(new NumberRangeQuery("age"!))
{
Gt = 42
})));
to:
var response = await client.SearchAsync<Person>(q => q.Query(q => q.Range(new NumberRangeQuery("age"!)
{
Gt = 42
})));
or alternatively using a full descriptor based syntax:
await client.SearchAsync<Person>(q => q.Query(q => q.Range(r => r.NumberRange(n => n.Field("age"!).Gte(42)))));
The built-in range query types are: NumberRangeQuery
, DateRangeQuery
and TermRangeQuery
. For an untyped version that accepts all object
types, you can additionally use UntypedRangeQuery
.
8.14.3
What's Changed
- Regenerate client using the latest spec by @flobernd in #8245
- Fixes deserialization of
DynamicTemplate
- Fixes deserialization of some "single-or-many" types
- General specification driven improvements and bug-fixes
- Fixes deserialization of
Full Changelog: 8.14.2...8.14.3
Serverless 1.1.0
What's Changed
8.14.2
8.14.1
8.14.0
8.13.15
8.13.14
What's Changed
- Fix type of
settings
inPutTemplate
to provide much easier access to the individual settings - Fix deserialization of unknown
Analysis.INormalizer
variants - Fix deserialization of mapping limits
- More specification improvements
Full Changelog: 8.13.13...8.13.14