cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Non-Unique Indexes, How ?
Date Thu, 11 Nov 2010 02:35:20 GMT
Yes.

On Wed, Nov 10, 2010 at 6:39 PM, J T <jt4websites@googlemail.com> wrote:
> Ok, so non-unique indexes are supported, but only full equality matches on
> the values are supported right now.
> Will it in the future allow for partial/range matches ?
>
> e.g. Find all contacts with a J as the first letter ?
> Jason
> On Thu, Nov 11, 2010 at 12:13 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> On Wed, Nov 10, 2010 at 5:55 PM, J T <jt4websites@googlemail.com> wrote:
>> > CF: Contacts (with an index on 'fullname')
>> > key : id1 { fullname : "John Brown", address : "London" }
>> > key : id2 { fullname : "John Brown", address : "Paris"    }
>> > Would the 0.7 index on fullname allow me to lookup the 2 entries if I
>> > searched on "John" or "John Brown" ?
>>
>> Yes, the latter.
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of Riptano, the source for professional Cassandra support
>> http://riptano.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message