Return-Path: Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: (qmail 55546 invoked from network); 16 Jun 2010 01:03:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 01:03:11 -0000 Received: (qmail 39281 invoked by uid 500); 16 Jun 2010 01:03:11 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 39239 invoked by uid 500); 16 Jun 2010 01:03:10 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 39230 invoked by uid 99); 16 Jun 2010 01:03:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 01:03:10 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.83.172 as permitted sender) Received: from [74.125.83.172] (HELO mail-pv0-f172.google.com) (74.125.83.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 01:03:05 +0000 Received: by pvh1 with SMTP id 1so1415673pvh.31 for ; Tue, 15 Jun 2010 18:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=/F5kFiyMxxIqEFPODKb9dw6cv17JU6ks6p9vUymXitE=; b=qG/6q7LMRsuH6yC0rPgSGUnINBRm87kAlbwKgC2dL9o0qm/OMTYzAt+v4Wrd+KfLoN FyEXtUrDzzLnN9qz9hMGgtULAhsuf2zsihIgtvMWNvnvjR4eZhNWPSQYOPVFtVfwHRaB PMOzP7Gmtm5qPH/C1inTgEIaIg8cWIycGFdCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=Jfwtto57H1SHllncRAlFRhdPbF0bcW+hz9aPyZx4DopKfhAOYJEtWnfmDz+xxNYETl R5B2LLw8jEZuXyyVZdJPrejjP4htpO5HICXAJa7WmKbIx9MlR0O0N0tSc+lyUiKM8aHk NJ7MzBrGfa+n2fGIo7Tf33IY/C2TdPgnCJ4KQ= Received: by 10.142.196.8 with SMTP id t8mr5779062wff.293.1276650165169; Tue, 15 Jun 2010 18:02:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.113.14 with HTTP; Tue, 15 Jun 2010 18:02:25 -0700 (PDT) In-Reply-To: <1276646204.24794.20.camel@greenlantern.local> References: <1276646204.24794.20.camel@greenlantern.local> From: Jonathan Ellis Date: Tue, 15 Jun 2010 20:02:25 -0500 Message-ID: Subject: Re: Secondary indexing and 0.6/0.7 integration with Datanucleus To: dev@cassandra.apache.org, todd@spidertracks.co.nz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What issue were you trying to link? :) On Tue, Jun 15, 2010 at 6:56 PM, Todd Nine wrote: > Hi all, > =A0I'm implementing a Datanucleus plugin for Cassandra. =A0I'm finished > with the basic functionality, and everything seems to work pretty well. > Now my issue is performing secondary indexing on fields within my data. > I have outlined some of the issues I'm facing in this post. > > http://www.datanucleus.org/servlet/forum/viewthread_thread,6087_lastpage,= yes#32610 > > Essentially, for each operand the user specifies, I will need to make a > trip to Cassandra, load the key columns, then perform an intersection > with the result from my previous read. =A0Eventually at the end of all th= e > intersections, I will have a list of keys I will then load. =A0This > obviously requires several trips to Cassandra, where from my > understanding of secondary indexing, I would only need to make one trip > for multiple operands over a column family. =A0 =A0I've read over this > issue. > > http://issues.apache.org/jira/browse/CASSANDRA-32610 > > And it seems to solve a lot of my woes. =A0Is it possible/recommended to > patch the current code base of 0.6.2 to perform this functionality? > > Thanks, > Todd > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com