From user-return-6318-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Jun 02 11:48:39 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 11840 invoked from network); 2 Jun 2010 11:48:38 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jun 2010 11:48:38 -0000 Received: (qmail 75432 invoked by uid 500); 2 Jun 2010 11:48:37 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 75327 invoked by uid 500); 2 Jun 2010 11:48:35 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 75318 invoked by uid 99); 2 Jun 2010 11:48:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 11:48:34 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jun 2010 11:48:25 +0000 Received: by gyh4 with SMTP id 4so4615429gyh.31 for ; Wed, 02 Jun 2010 04:48:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.248.3 with SMTP id v3mr7591299ybh.82.1275479284105; Wed, 02 Jun 2010 04:48:04 -0700 (PDT) Received: by 10.150.189.18 with HTTP; Wed, 2 Jun 2010 04:48:04 -0700 (PDT) X-Originating-IP: [80.179.102.198] Date: Wed, 2 Jun 2010 14:48:04 +0300 Message-ID: Subject: Range search on keys not working? From: David Boxenhorn To: Cassandra Mailing List Content-Type: multipart/alternative; boundary=000e0cd69526a5c23304880aa9df X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd69526a5c23304880aa9df Content-Type: text/plain; charset=ISO-8859-1 Range search on keys is not working for me. I was assured in earlier threads that range search would work, but the results would not be ordered. I'm trying to get all the rows that start with "CATEGORY." I'm doing: String start = "CATEGORY."; . . . keyspace.getSuperRangeSlice(columnParent, slicePredicate, start, "CATEGORY/", max) . . . in a loop, setting start to the last key each time - but I'm getting rows that don't start with "CATEGORY."!! How do I get all rows that start with "CATEGORY."? --000e0cd69526a5c23304880aa9df Content-Type: text/html; charset=ISO-8859-1
Range search on keys is not working for me. I was assured in earlier threads that range search would work, but the results would not be ordered.

I'm trying to get all the rows that start with "CATEGORY."

I'm doing:

String start = "CATEGORY.";
.
.
.
keyspace.getSuperRangeSlice(columnParent, slicePredicate, start, "CATEGORY/", max)
.
.
.

in a loop, setting start to the last key each time - but I'm getting rows that don't start with "CATEGORY."!!

How do I get all rows that start with "CATEGORY."?
--000e0cd69526a5c23304880aa9df--