A signature technique for similarity-based queries | Synapse