Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
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

Description

@runesl

The current RiakIndex annotation requires the name to be static like "email" here:

@RiakIndex(name="email")
public Set<String> emailIndx;

We need a way to annotate dynamic indices like:

@RiakIndex
public Map<String, String> references;

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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions