{"action":"opened","issue":{"url":"https://api.github.com/repos/calrissian/accumulo-recipes/issues/336","labels_url":"https://api.github.com/repos/calrissian/accumulo-recipes/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/calrissian/accumulo-recipes/issues/336/comments","events_url":"https://api.github.com/repos/calrissian/accumulo-recipes/issues/336/events","html_url":"https://github.com/calrissian/accumulo-recipes/issues/336","id":86283361,"number":336,"title":"[QFDStores] We should do an index entry for items by type","user":{"login":"cjnolet","id":1242464,"avatar_url":"https://avatars.githubusercontent.com/u/1242464?v=3","gravatar_id":"","url":"https://api.github.com/users/cjnolet","html_url":"https://github.com/cjnolet","followers_url":"https://api.github.com/users/cjnolet/followers","following_url":"https://api.github.com/users/cjnolet/following{/other_user}","gists_url":"https://api.github.com/users/cjnolet/gists{/gist_id}","starred_url":"https://api.github.com/users/cjnolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjnolet/subscriptions","organizations_url":"https://api.github.com/users/cjnolet/orgs","repos_url":"https://api.github.com/users/cjnolet/repos","events_url":"https://api.github.com/users/cjnolet/events{/privacy}","received_events_url":"https://api.github.com/users/cjnolet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T18:31:35Z","updated_at":"2015-06-08T18:31:35Z","closed_at":null,"body":"This would be very lightweight (at most 1 key per type per shard) but would allow us to make sure we're only scanning over shards that contain data (in the case of the getAllByType()). Currently, if you set your time range to 5 years, it'll generate 5 years worth of shards and the scan will take forever. This would just be a simple shard lookup in the index table."}}