Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 38394 invoked from network); 11 Nov 2010 02:35:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 02:35:17 -0000 Received: (qmail 95532 invoked by uid 500); 11 Nov 2010 02:35:47 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 95515 invoked by uid 500); 11 Nov 2010 02:35:47 -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 95506 invoked by uid 99); 11 Nov 2010 02:35:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 02:35:46 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.215.44 as permitted sender) Received: from [209.85.215.44] (HELO mail-ew0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 02:35:40 +0000 Received: by ewy27 with SMTP id 27so869865ewy.31 for ; Wed, 10 Nov 2010 18:35:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nHQfmB+31kBVtf6YyDeJQSG4klkNViQoo9OqKd0gP8c=; b=EmJFdkQZ79PBLv0PIhOnfbfQAn8Kb30mgz7d9NTSLnuX4hvxwG0fR8cFZBm89EiZcx H6XT+2H1AnUIWnAbO2m4qu4d5Eu7DrMSA4plctSB9ka5E4W6dCFqInvD0SQCENLaZZ05 Ps9U3RL1k2/7W16DiiF1IO7NVTn/Kv9Hh+EL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dhqpfZb/qC+VbyVLlk421p1aUrCRt0+iJK5XGOe/LrqjM3cWx5XzeuAQgqdYBZ/9qw FHhw/CTJc/CPA56cebE2g3vDniQOwWeL6FiLfV/6Z68SWeWcPcFSq4MFD7qxh89deXMI bpv0KjwIqs9bVEMqH1Xj0iV3s9zpuJFUp4tXk= MIME-Version: 1.0 Received: by 10.14.124.201 with SMTP id x49mr43553eeh.7.1289442920257; Wed, 10 Nov 2010 18:35:20 -0800 (PST) Received: by 10.14.127.203 with HTTP; Wed, 10 Nov 2010 18:35:20 -0800 (PST) In-Reply-To: References: Date: Wed, 10 Nov 2010 20:35:20 -0600 Message-ID: Subject: Re: Non-Unique Indexes, How ? From: Jonathan Ellis To: user Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Yes. On Wed, Nov 10, 2010 at 6:39 PM, J T wrote: > Ok, so non-unique indexes are supported, but only full equality matches o= n > the values are supported right now. > Will it in the future allow for partial/range matches ? > > e.g. Find all contacts with a J as the first letter ? > Jason > On Thu, Nov 11, 2010 at 12:13 AM, Jonathan Ellis wrot= e: >> >> On Wed, Nov 10, 2010 at 5:55 PM, J T wrote: >> > CF: Contacts (with an index on 'fullname') >> > key : id1 { fullname : "John Brown", address : "London" } >> > key : id2 { fullname : "John Brown", address : "Paris" =A0 =A0} >> > 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 > > --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com