Skip to main content

ZINTER

Returns the intersection between sets.
1 min read

Arguments#

keysList[str]required#

The keys of the sets to compare.

weightsList[float]#

The weights to apply to the sets.

Default: "None"

aggregate"SUM" | "MIN" | "MAX"#

The aggregation function to apply to the sets.

Default: "sum"

withscoresbool#

Whether to include scores in the result.

Default: "false"

Response#

List[str] | List[Tuple[str, float]]

The number of elements in the resulting set.