CF.MEXISTS key item [item ...]

Available in: Redis Stack

Time complexity: O(k * n), where k is the number of sub-filters and n is the number of items

Check if one or more items exists in a Cuckoo Filter key

Parameters

  • key: The name of the filter
  • items: The item to check for

Return

[] - for each item where "1" value means the corresponding item may exist in the filter, and a "0" value means it does not exist in the filter.

Examples

redis> CF.MEXISTS cf item1 item_new
1) (integer) 1
2) (integer) 0