{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak-java-client/issues/679","repository_url":"https://api.github.com/repos/basho/riak-java-client","labels_url":"https://api.github.com/repos/basho/riak-java-client/issues/679/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak-java-client/issues/679/comments","events_url":"https://api.github.com/repos/basho/riak-java-client/issues/679/events","html_url":"https://github.com/basho/riak-java-client/issues/679","id":184464221,"number":679,"title":"Annotation-based 2i with dynamic index names","user":{"login":"rsltrifork","id":1193502,"avatar_url":"https://avatars.githubusercontent.com/u/1193502?v=3","gravatar_id":"","url":"https://api.github.com/users/rsltrifork","html_url":"https://github.com/rsltrifork","followers_url":"https://api.github.com/users/rsltrifork/followers","following_url":"https://api.github.com/users/rsltrifork/following{/other_user}","gists_url":"https://api.github.com/users/rsltrifork/gists{/gist_id}","starred_url":"https://api.github.com/users/rsltrifork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsltrifork/subscriptions","organizations_url":"https://api.github.com/users/rsltrifork/orgs","repos_url":"https://api.github.com/users/rsltrifork/repos","events_url":"https://api.github.com/users/rsltrifork/events{/privacy}","received_events_url":"https://api.github.com/users/rsltrifork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-21T11:33:03Z","updated_at":"2016-10-21T11:33:03Z","closed_at":null,"body":"The current RiakIndex annotation requires the name to be static like \"email\" here:\r\n\r\n```\r\n@RiakIndex(name=\"email\")\r\npublic Set<String> emailIndx;\r\n```\r\n\r\nWe need a way to annotate dynamic indices like:\r\n```\r\n@RiakIndex\r\npublic Map<String, String> references;\r\n```\r\nWhere each key in the Map is a 2i key to index, and each value is the corresponding 2i value.\r\n\r\nThe old RiakObject based API can do this.\r\nIs this something basho can implement or would you be willing to merge a PR on it?"}}
{"actor":{"display_login":"rsltrifork"}}