It would be more efficient in disk reads if the keys output by one index search could somehow constrain the second one, and so on.

On Wed, Jan 25, 2012 at 9:50 AM, Jeremiah Peschka <[email protected]> wrote:
I have no idea if there are plans for this.

Writing these queries yourself should be pretty trivial. Just spin up n threads, query n indexes, and then use some join algorithm [1] to merge the result sets together to produce the key list that you need to perform your lookups.

[1]: https://en.wikipedia.org/wiki/Hash_join#Grace_hash_join
---
Jeremiah Peschka
Managing Director, Brent Ozar PLF, LLC



On Wed, Jan 25, 2012 at 5:04 AM, Runar Jordahl <[email protected]> wrote:
Are there any plans for allowing Riak to query multiple indices in one
operation? If there are, how will these queries work?

Kind regards
Runar

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




--
Sean Cribbs <[email protected]>
Software Engineer
Basho Technologies, Inc.



_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to