Class ShardingConfig (2.5.0)

ShardingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The sharding config for the output document.

Attributes

NameDescription
pages_per_shard int
The number of pages per shard.
pages_overlap int
The number of overlapping pages between consecutive shards.