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.

Methods​

Compute``1​

No summary available.

Type Parameters:

  • $tpName: The type of the document.

Parameters:

  • doc: The document to hash.

Fields​

Options​

No summary available.

Build StatusBuild #20260430.1 | Commit: d7a0884 | Branch: HEAD | Built: 4/30/2026, 2:01:48 AM