term-payload-clj-score: add per-shard query state