IndexOperator LT/LTE/GT/GTE Implementation

2010-09-09 Thread David Erickson
Hi all, I have been running the nightly of Cassandra and was able to get the secondary indices working for me, and queryable with IndexOperator.EQ. I have an additional index that I need to use IndexOperator.LTE on for LongType, which I tried to use but the equivalent of a NotImplementedException

Re: IndexOperator LT/LTE/GT/GTE Implementation

2010-09-09 Thread Jonathan Ellis
as the validation error (No indexed columns present in index clause with operator EQ) explains, you need at least one at EQ after which you can add others w/ other operators On Thu, Sep 9, 2010 at 1:08 PM, David Erickson halcyon1...@gmail.com wrote: Hi all, I have been running the nightly of

Re: IndexOperator LT/LTE/GT/GTE Implementation

2010-09-09 Thread David Erickson
Hi Jonathan, Thanks for the reply. Why is there a limitation of requiring an EQ? In my case I am modeling my CF with one object per row, with columns for object properties. The query I'd like to issue is give me all objects with timestamps earlier than a specified time. In this query there is

Re: IndexOperator LT/LTE/GT/GTE Implementation

2010-09-09 Thread Jonathan Ellis
Short version: It's dictated by indexes being CFs underneath. Your workaround would be substantially less efficient than not using an index at all and just using range scan. On Thu, Sep 9, 2010 at 9:20 PM, David Erickson halcyon1...@gmail.com wrote: Hi Jonathan, Thanks for the reply.  Why is