Skip to content
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

Support for _source endpoint to get only the source #1579

Closed
mitar opened this issue Jan 29, 2022 · 3 comments
Closed

Support for _source endpoint to get only the source #1579

mitar opened this issue Jan 29, 2022 · 3 comments
Labels
Milestone

Comments

@mitar
Copy link

mitar commented Jan 29, 2022

Which version of Elastic are you using?

[x] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)

Please describe the expected behavior

I would like to query _source endpoint, which is similar to _get endpoint, just that it returns source of the document only.

Please describe the actual behavior

I do not see it supported anywhere in the code?

@olivere
Copy link
Owner

olivere commented Feb 17, 2022

Yeah, it's a nice to have. But yeah, it's missing.

@olivere olivere added this to the 7.x milestone Feb 17, 2022
@protiumx
Copy link

protiumx commented Jul 9, 2023

hi @olivere !
is there any new on this or any way to add _source to the final URL?

@olivere
Copy link
Owner

olivere commented Jul 10, 2023

@protiumx This library is deprecated for a number of reasons. For a more detailed history about this decision, read this issue. The way to go is to use the official Elasticsearch library offered by Elastic.

@olivere olivere closed this as completed Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants