No API for secondary indexes #70

Closed
ondrejcernos opened this Issue Sep 24, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@ondrejcernos

In PB client working with secondary indexes means working with internal data structures that leak into the client code: dict for metadata, list for indexes, <<"index">> as the metadata dict key. It would be nice if adding, removing, deleting, reviewing changes (between current and updated metadata) operations on indexes were hidden behind a riakc_obj API function.

@beerriot

This comment has been minimized.

Show comment Hide comment
@beerriot

beerriot Jan 23, 2013

PR #81 added riakc_obj:[get|clear|delete|set|add]_secondary_index, which I think addresses this issue.

PR #81 added riakc_obj:[get|clear|delete|set|add]_secondary_index, which I think addresses this issue.

@beerriot beerriot closed this Jan 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment