A General and Efficient Querying Method for Learning to Hash | Synapse