from Hacker News

Basho Blog: Secondary Indexes In Riak

by RKlophaus on 9/14/11, 6:10 PM with 5 comments

  • by mbreese on 9/14/11, 7:19 PM

    Why return the primary key when performing a secondary index query instead of the whole record? This seems like it would add an extra round-trip. Would it be possible add a flag to return the whole record?
  • by jrecursive on 9/14/11, 8:33 PM

    Given the current way [Riak] index queries are expressed, I was reminded of the unfortunately named HTSQL; I'm not sure if I am fond of it or not yet, but I thought I'd pass along a few references as it bears some at least superficial similarity to what exists in Riak at the moment, and that may be of use:

    http://en.wikipedia.org/wiki/HTSQL

    http://htsql.org/doc/ref/index.html