Skip to main content

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.
Build StatusBuild #20260207.1 | Commit: e1bb83f | Branch: HEAD | Built: 2/7/2026, 2:01:17 AM