Skip to main content

mr admin similarity

Image-similarity maintenance actions for the perceptual-hash (v2) engine. Use the subcommands to rebuild similarity pairs from stored hashes or to re-queue images whose hashing previously failed.

Usage

mr admin similarity

Examples

Rebuild all v2 similarity pairs

mr admin similarity recompute

Retry images whose hashing failed

mr admin similarity retry-failed

Flags

This command has no local flags.

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Output

Subcommand group; run a subcommand

Exit Codes

0 on success; 1 on error

See Also