Version 1.5.2
I wrote a native filter script for Elastic and I noticed that a new instance of the script is created for every document returned.
FilterBuilders().scriptFilter("aclscript").lang("native").cache(true).cacheKey(AuthUtils.getUsername())
I assumed that cache=true would cache the instance of the script created by the factory, but I guess I was wrong. I can put my own caching in the factory but I figured I'd check and see if this was the intended behavior or cache=true.