code: def get_pks_for_filter(self, key, filter_type, value):
          
          start, end, __ = self.get_boundaries(filter_type, value)  # we have nothing to exclude
          return self.connection.zrangebyscore(key, start, end)
docs: Extract the pks from the zset key for the given type and value
  
          For the parameters, see BaseRangeIndex.get_pks_for_filter