seomoz / qless-core

Core Lua Scripts for qless
MIT License
85 stars 34 forks source link

tag.get takes start/end offsets but claims to take offset/count #22

Closed wr0ngway closed 11 years ago

wr0ngway commented 11 years ago

tag.get documents itself as taking an offset/count, but it uses zrange, so its a start_offset/end_offset:

https://github.com/seomoz/qless-core/blob/master/base.lua#L303 http://redis.io/commands/zrange

You may want to make this consistent with the rest of the api, or just change the documentation/validationmsg