You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Annotation-based 2i with dynamic index names [JIRA: CLIENTS-1017] #679
changed the title [-]Annotation-based 2i with dynamic index names[/-][+]Annotation-based 2i with dynamic index names [JIRA: CLIENTS-1017][/+]on Oct 21, 2016
PR's are very welcome! This seems like a small design regression from when we rebuilt the client, so I'd be happy to review and merge anything provided.
Looks like for this one we'd need to add the appropriate type sniffing code in RiakIndexField and RiakIndexMethod, to detect a map of the proper key type.
Also, I can't find any examples in the 1.4 Client where you can assign the RiakIndex annotation to a Map, do you have any examples you can share / link to?
The current RiakIndex annotation requires the name to be static like "email" here:
We need a way to annotate dynamic indices like:
Where each key in the Map is a 2i key to index, and each value is the corresponding 2i value.
The old RiakObject based API can do this.
Is this something basho can implement or would you be willing to merge a PR on it?