See also: http://features.basho.com/entries/20516853-bitmap-index-queries

On Wed, Jan 25, 2012 at 5:05 PM, Carl <asyn...@hotmail.com> wrote:

>  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 <
> jeremiah.pesc...@gmail.com> 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 
>> <runar.jord...@gmail.com>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
>>> riak-users@lists.basho.com
>>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>>
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>
>
>  --
> Sean Cribbs <s...@basho.com>
> Software Engineer
> Basho Technologies, Inc.
> http://basho.com/
>
>
>
> _______________________________________________
> riak-users mailing 
> listriak-users@lists.basho.comhttp://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Sean Cribbs <s...@basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to