Class ShardInfo

For a large document, sharding may be performed to produce several document shards. Each document shard contains this field to detail which shard it is.

Attributes
NameDescription
intshard_index
The 0-based index of this shard.
intshard_count
Total number of shards.
inttext_offset
The index of the first character in Document.text in the overall document global text.

Inheritance

builtins.object > proto.message.Message > ShardInfo