Release notes v8.1.1
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Release notes v8.1.1
editBug fixes
editEnhancements
edit- #7684 Regenerated code with latest spec fixes for 8.7
Breaking changes
editThis release includes the following breaking changes as a result of specification fixes:
AsyncSearch and MultisearchBody KnnQuery
editThe type for the SubmitAsyncSearchRequest.Knn and MultisearchBody.Knn properties
has changed to an ICollection<KnnQuery> from a single KnnQuery since it is
possible to include more than one query in a request.
Before
public sealed partial class SubmitAsyncSearchRequest
{
...
public Elastic.Clients.Elasticsearch.KnnQuery? Knn { get; set; }
...
}
public sealed partial class MultisearchBody
{
...
public Elastic.Clients.Elasticsearch.KnnQuery? Knn { get; set; }
...
}
After
public sealed partial class SubmitAsyncSearchRequest
{
...
public ICollection<Elastic.Clients.Elasticsearch.KnnQuery>? Knn { get; set; }
...
}
public sealed partial class MultisearchBody
{
...
public ICollection<Elastic.Clients.Elasticsearch.KnnQuery>? Knn { get; set; }
...
}