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

Enable querying to ES with _source = False or fewer fields, and no Resource creation #334

Open
ssssarah opened this issue Sep 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ssssarah
Copy link
Contributor

ssssarah commented Sep 6, 2023

Would be useful to have the ability to make the usual forge.elastic, forge.search calls but only to check the existence of something = non empty response with just an id (or less fields than all of them), and not build Resources for matches if one is not interested in the content of the Resource(s)

@ssssarah ssssarah added the enhancement New feature or request label Sep 6, 2023
@ssssarah
Copy link
Contributor Author

ssssarah commented Jul 19, 2024

#382 This enables returning it as a dictionary (not a resource). Additionally one can provide a list of fields in "_source" and because there is no Resource building, it will return this subset of fields successfully.
However, _source = False is not yet supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant