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.