Skip to content

Execute raw query / filter #7285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
abeninski opened this issue Mar 6, 2023 · 4 comments · Fixed by #7364
Closed

Execute raw query / filter #7285

abeninski opened this issue Mar 6, 2023 · 4 comments · Fixed by #7364
Labels
8.x Relates to a 8.x client version
Milestone

Comments

@abeninski
Copy link

Is your feature request related to a problem? Please describe.
I want to be able to execute range queries and I noticed this issues #7050 so I tried to find how to execute raw query but, I don't see a way to do it in v8.

Describe the solution you'd like
Can you please add the ability to add raw query / filter like it used to be in previous version so we can easily go around problems like that?

Describe alternatives you've considered
The only alternative so far is to fork the repository.

@meriturva
Copy link

I was looking for snapshot calls on new 8.x version and I don't find a way to use low level API. Any advice?

@meriturva
Copy link

I think we have to use Transport:

public HttpTransport Transport => _transport;

@stevejgordon stevejgordon added the 8.x Relates to a 8.x client version label Mar 15, 2023
@stevejgordon
Copy link
Contributor

@abeninski Thanks for your feedback. I have a PR in to implement this fallback option.

@stevejgordon
Copy link
Contributor

@meriturva It's best to ask questions on discuss.elastic.co and not an unrelated issue, as they may be missed. You are correct; there is no specific low-level client, and using Transport directly is the correct option if you want to send raw JSON requests and responses to a cluster.

@stevejgordon stevejgordon added this to the 8.1.0 milestone Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants