Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 45489 invoked from network); 2 Feb 2010 03:28:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 03:28:48 -0000 Received: (qmail 89557 invoked by uid 500); 2 Feb 2010 03:28:48 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 89502 invoked by uid 500); 2 Feb 2010 03:28:48 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 89483 invoked by uid 99); 2 Feb 2010 03:28:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 03:28:47 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 03:28:37 +0000 Received: by wwb13 with SMTP id 13so699303wwb.6 for ; Mon, 01 Feb 2010 19:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=J3VOhf3VB4lJjyhJDPLg/0IQSQwKQ5KpmytGh4my4/0=; b=bWNPBsDdr1wG5XIumhG7btoy2rm9uU4D8ibtIGyOUR6AgKo5mcXMOwiS7BtVseN/Kc 8mssyF6tgt7eKYt5RWxBtz6bp6yUQbZccyjxAZfomoTtHoVnjQBoAyvSwvzDNrLJ7h5R HS0nHspuYUT2/5Y2HHSJJDiLXhDxLEDppyudM= 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=mY9PsLfcCpuRurkIYko+ICcQ4dXVboF9jUFz1fqEoODEChbeAscGmGgn71q9TyMisM 1pzOxZ2F1Mw8/UfJvo16aUakA1Ruk/W70b45CbD4BgqNvJut1A7pDB4/SgsXJztvkuMY zCGvfy2s5KwgJSV32CwCQW1qN4Bof8unx9E3M= MIME-Version: 1.0 Received: by 10.216.89.9 with SMTP id b9mr3318144wef.61.1265081297125; Mon, 01 Feb 2010 19:28:17 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 1 Feb 2010 21:27:57 -0600 Message-ID: Subject: Re: Multiblog Scenario: Schema Design To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You would add a columnfamily with a row per month and write blog posts (either ids or entire post data) to that CF. On Mon, Feb 1, 2010 at 9:10 PM, Rockett Williams wrote: > Most people are aware of Evan Weaver's (from Twitter) blog post introduci= ng > Cassandra. > http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassan= dra/ > In the post he uses a example multiblog=A0application=A0-> a blog for mul= tiple > users. > I was wondering how would you be able to query by date for the example wh= ich > would be a common scenario. > For example, I want all blog posts from the month of January. > What schema changes would be required and how would you=A0approach=A0the = problem > using the API.