Errors: reason\":\"Unrecognized compile-time parameter(s)

I have written a scriptquery that should work but I keep getting this error "Unrecognized compile-time parameter(s)".

I have even super simplified my script where I just "return true", and continue to get the same error.

What could be the cause of this?

Does Elasticsearch uses any cache that I might need to clear? I am adding the script query to a boolquery search filter.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.