added javadocs for builder and cleaned up support for `shard_size` on terms & terms_stats facets