public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The `ShardInfo` class is used to detail which shard a document belongs to when sharding is performed for large documents."],["`ShardInfo` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for versatile usage and comparisons."],["It has three key properties: `ShardCount` to represent the total number of shards, `ShardIndex` for the current shard's index (starting at 0), and `TextOffset` to indicate the starting character position of the shard's text within the overall document."],["The `ShardInfo` class offers two constructors, a default constructor and one that accepts another `ShardInfo` object for creating copies."]]],[]]