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

Running into "circuit_breaking_exception" when using ScriptFilter #186

Closed
sethmlarson opened this issue Apr 16, 2020 · 4 comments
Closed

Comments

@sethmlarson
Copy link
Contributor

I run into this issue running many queries requiring a ScriptFilter.
Can we get away with caching scripts on the Elasticsearch side or something else we can do to alleviate this?

@sethmlarson
Copy link
Contributor Author

Could this be as simple as changing inline to source within ScriptFilter?

@mesejo
Copy link
Contributor

mesejo commented Apr 20, 2020

You mean something like:

        script = {"source": inline}
        if lang is not None:
            script["lang"] = lang

?

@sethmlarson
Copy link
Contributor Author

Yeah that would fix the issue I think? Check out #190 as well.

@sethmlarson
Copy link
Contributor Author

Closed via #191

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

No branches or pull requests

2 participants