{"action":"created","issue":{"url":"https://api.github.com/repos/RedisLabsModules/redex/issues/8","repository_url":"https://api.github.com/repos/RedisLabsModules/redex","labels_url":"https://api.github.com/repos/RedisLabsModules/redex/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/RedisLabsModules/redex/issues/8/comments","events_url":"https://api.github.com/repos/RedisLabsModules/redex/issues/8/events","html_url":"https://github.com/RedisLabsModules/redex/issues/8","id":157007053,"number":8,"title":"ZUNIONTOP/ZUNIONREVTOP do not union correctly","user":{"login":"itamarhaber","id":6059516,"avatar_url":"https://avatars.githubusercontent.com/u/6059516?v=3","gravatar_id":"","url":"https://api.github.com/users/itamarhaber","html_url":"https://github.com/itamarhaber","followers_url":"https://api.github.com/users/itamarhaber/followers","following_url":"https://api.github.com/users/itamarhaber/following{/other_user}","gists_url":"https://api.github.com/users/itamarhaber/gists{/gist_id}","starred_url":"https://api.github.com/users/itamarhaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itamarhaber/subscriptions","organizations_url":"https://api.github.com/users/itamarhaber/orgs","repos_url":"https://api.github.com/users/itamarhaber/repos","events_url":"https://api.github.com/users/itamarhaber/events{/privacy}","received_events_url":"https://api.github.com/users/itamarhaber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-26T15:10:06Z","updated_at":"2016-05-27T15:44:09Z","closed_at":null,"body":"@levyfan trying out the commands yields duplicate and missing entries. Do you want to resolve this?\r\n\r\n```\r\n127.0.0.1:6379> ZADD z1 1 foo 2 bar 3 baz\r\n(integer) 3\r\n127.0.0.1:6379> ZADD z2 2 bar 3 baz 4 qaz\r\n(integer) 3\r\n127.0.0.1:6379> ZUNIONTOP 3 2 z1 z2 WITHSCORES\r\n1) \"foo\"\r\n2) \"1\"\r\n3) \"bar\"\r\n4) \"2\"\r\n5) \"bar\"\r\n6) \"2\"\r\n127.0.0.1:6379> ZUNIONREVTOP 3 2 z1 z2 WITHSCORES\r\n1) \"qaz\"\r\n2) \"4\"\r\n3) \"baz\"\r\n4) \"3\"\r\n5) \"baz\"\r\n6) \"3\"\r\n```"},"comment":{"url":"https://api.github.com/repos/RedisLabsModules/redex/issues/comments/222181255","html_url":"https://github.com/RedisLabsModules/redex/issues/8#issuecomment-222181255","issue_url":"https://api.github.com/repos/RedisLabsModules/redex/issues/8","id":222181255,"user":{"login":"itamarhaber","id":6059516,"avatar_url":"https://avatars.githubusercontent.com/u/6059516?v=3","gravatar_id":"","url":"https://api.github.com/users/itamarhaber","html_url":"https://github.com/itamarhaber","followers_url":"https://api.github.com/users/itamarhaber/followers","following_url":"https://api.github.com/users/itamarhaber/following{/other_user}","gists_url":"https://api.github.com/users/itamarhaber/gists{/gist_id}","starred_url":"https://api.github.com/users/itamarhaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itamarhaber/subscriptions","organizations_url":"https://api.github.com/users/itamarhaber/orgs","repos_url":"https://api.github.com/users/itamarhaber/repos","events_url":"https://api.github.com/users/itamarhaber/events{/privacy}","received_events_url":"https://api.github.com/users/itamarhaber/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T15:44:09Z","updated_at":"2016-05-27T15:44:09Z","body":"Exactly. No duplicates are allowed as a result from a union. The final score should be the weighted min (or max if REV)."}}
{"actor":{"display_login":"itamarhaber"}}