incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Secondary indices with multiple conditions?
Date Fri, 10 Jun 2011 03:28:01 GMT
Yes, with the restriction that at least one of the conditions must be
= on an indexed column.

See http://www.datastax.com/dev/blog/whats-new-cassandra-07-secondary-indexes
for an example.

On Thu, Jun 9, 2011 at 9:53 PM, Mark Kerzner <markkerzner@gmail.com> wrote:
> Hi,
> if I am using Cassandra's secondary indices, or even if I am doing it myself
> following Ed Anuff's advice, can I do multiple slices? That is, how do I
> imitate a SQL query of
> where column_1 > 5 and column_2 < 4 and so on, up to dozens of conditions?
> Thank you,
> Mark



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

Mime
View raw message