std.FindDocumentDigest

This job searches for a document with the same hash value. Search is performed in the osdochash table; only entries without osguid (NULL or empty) are considered — versions are not considered. For how the hash value being searched for is calculated, see Calculating the digest value.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

Digest

STRING

Yes

The hash value to search for. The search is case-insensitive — the hex string may be passed in upper or lower case.

2. Output Parameters

Name Type Dependency Description

Result

STRING

—

Document IDs and types of found documents in the format ID=Typ;ID=Typ;… (e.g., 11=131072;22=131072)

3. Return Value

(INT): 0 = Job successful, otherwise error code.