(no title)
bonzoesc | 12 years ago
So the results can be sorted but are not stored in sorted order in the secondary indices?
Secondary indexes are stored sorted on disk, but segmented per vnode. Previously, they wouldn't be sorted before being returned to a client.
Suppose you're querying for "Bananas" through "Bavaria"; the node that contains "Bassoon" could return its first result before the node containing "Bananas" and "Barons", which would, in old Riak versions, result in out-of-order results.
Disclosure: I work at Basho, and have been working on riak-ruby-client updates to support the 2i improvements.
cinbun8|12 years ago
bonzoesc|12 years ago
2i doesn't use mapreduce in normal operation.
jhancock|12 years ago
ericmoritz|12 years ago