elastic / go-elasticsearch

The official Go client for Elasticsearch
https://github.com/elastic/go-elasticsearch#go-elasticsearch
Apache License 2.0
5.54k stars 609 forks source link

typedapi.core.search.Request does not have filter_path #826

Closed rajivprab closed 3 weeks ago

rajivprab commented 3 months ago

This is almost identical to the issue #93 . The only difference is that I'm trying to specify filter_path on a typedapi search-request.

I've already double-checked both of the following places:

But I don't see filter_path in either of the above.

I do see filter_path in esapi::SearchRequest. But our project is using the typedapi client, hence why we're using typedapi::Search and typedapi::search.Request

Anaethelion commented 3 months ago

We're indeed missing some query parameters from within an expansion phase in the https://github.com/elastic/elasticsearch-specification I'll have a look and will regenerate the API when this is fixed.

rajivprab commented 3 months ago

Thanks @Anaethelion . Do you have a ballpark estimate of when this will be fixed? Ie, will this be a few weeks, months, year?

Anaethelion commented 3 weeks ago

Hi @rajivprab this should be available in the latest release!