elasticsearch-net icon indicating copy to clipboard operation
elasticsearch-net copied to clipboard

MultiBucketAggregate is missing

Open gpetrou opened this issue 6 months ago • 1 comments

Elastic.Clients.Elasticsearch version: 8.11.0

Elasticsearch version: 8.2.2

.NET runtime version: net8.0

Operating system version: Windows 11

Description of the problem including expected versus actual behavior: MultiBucketAggregate exists in NEST, but is missing in the new library. Is this replaced by something else? Or are you planning to bring it back? Is yes, are you planning to do that soon? If not, are there any guidelines on how to submit a PR for it?

Steps to reproduce:

Expected behavior

Provide ConnectionSettings (if relevant):

Provide DebugInformation (if relevant):

gpetrou avatar Dec 10 '23 16:12 gpetrou

Hi @gpetrou ! Not all aggregations and aggregates are currently implemented in the v8.* client. The plan is to implement all missing types and endpoints (including this aggregation) until end of Q1 2024 if everything goes fine. Most parts of the client are auto-generated from our elastic-specification, but the code generator is closed source for internal reasons which means you won't be able to create a PR.

flobernd avatar Dec 11 '23 07:12 flobernd

Ciao @flobernd! Do you think the release of missing types and endpoints will occur by the end of Q1 2024? Are there news on the topic? Thanks for the great work on Elasticsearch!

matteocalisti avatar Mar 06 '24 09:03 matteocalisti

Hi @matteocalisti! Thanks for the kind way of asking. Currently it's looking good that at least a big chunk of missing endpoints and features can be released around the end of Q1/2024 (+/-). My plan is to create an alpha/beta version first which will be publically available for testing. I expect it to take some additional time to get rid of some smaller bugs and rough edges, but that will definitely be an incremental process with a lot more frequent releases and not - like this time - a "all or nothing" situation.

flobernd avatar Mar 06 '24 09:03 flobernd

@gpetrou I had the time to check what the MultiBucketAggregate in NEST is about. This is just a base class used for aggregates that return multiple buckets. In the v8 client, you can still access the Buckets property on the returned aggregates directly (check AdjacencyMatrixAggregate for example).

flobernd avatar Mar 06 '24 09:03 flobernd