In a plugin like this where it's extending ScriptEngine, LeafFactory, and DocReader, is it possible to get the shard the script is running on?
I assume the script would run on each shard individually and then combine data. I am passing something in the params per shard and would like to apply the logic based on the shard it is running on.