python - Calculating hamming distance with mongodb? -


say i've got large set of documents contain perceptual hashes (around 35,000), fastest way can (using mongodb) compare given hash x hashes in database , find ones distance less n.

i'm using python way, i'm assuming isn't possible natively in mongo, maybe possible optimize somehow?


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -