We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to set the source filter. Is this feature supported by the DSL? If not, would you add this?
The text was updated successfully, but these errors were encountered:
Currently it is not supported directly. You can, however, use the extra method:
extra
s = Search() s = s.extra(_source={'include': ['title', 'body']})
I am not sure this is super useful to add as a separate method since it can be done this easily, but if more people request it I will add it.
Hope this helps.
Sorry, something went wrong.
Thanks for the answer. I will use .extra().
No branches or pull requests
I would like to set the source filter. Is this feature supported by the DSL? If not, would you add this?
The text was updated successfully, but these errors were encountered: