def get_node_offset(self, key):

        if self.hash_method == 'standard':
            c = crc32(key) >> 16 & 0x7fff
            return c % len(self.servers)

        raise InvalidHashMethod
Performs a full text search over events with given keys.
dataset/ETHPy150Open gmr/mredis/mredis/client.py/MRedis.get_node_offset--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/storage/search.py/SearchStore.search_rooms