|
|
|
|
|
by bonzoesc
4725 days ago
|
|
Secondary Indexing Improvements: Query results are now sorted and paginated, offering developers much richer semantics 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. |
|