TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Basho Blog: Secondary Indexes In Riak

54 pointsby RKlophausover 13 years ago

2 comments

mbreeseover 13 years ago
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?
评论 #2997711 未加载
评论 #2997734 未加载
评论 #2998108 未加载
jrecursiveover 13 years ago
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:<p><a href="http://en.wikipedia.org/wiki/HTSQL" rel="nofollow">http://en.wikipedia.org/wiki/HTSQL</a><p><a href="http://htsql.org/doc/ref/index.html" rel="nofollow">http://htsql.org/doc/ref/index.html</a>