DocumentHash
The hash is computed using SHA-256 over a canonical JSON representation of the document: Property names are camelCaseNull values are ignoredEnums are serialized as camelCase stringsProperty order is stableNo indentation or extra whitespace This is used for efficient change detection in Elasticsearch upserts.
Fields
Options
No summary available.
Methods
Compute``1
No summary available.
Type Parameters:
- $tpName: The type of the document.
Parameters:
- doc: The document to hash.