def store_vector(self, hash_name, bucket_key, v, data):
if not hash_name in self.buckets:<EOL><INDENT>self.buckets[hash_name] = {}<EOL><DEDENT>if not bucket_key in self.buckets[hash_name]:<EOL><INDENT>self.buckets[hash_name][bucket_key] = []<EOL><DEDENT>self.buckets[hash_name][bucket_key].append((v, data))<EOL>
Stores vector and JSON-serializable data in bucket with specified key.