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 00:13:29 GMT
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

Mime
View raw message