Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA1D1C6E6 for ; Mon, 21 May 2012 00:15:34 +0000 (UTC) Received: (qmail 58616 invoked by uid 500); 21 May 2012 00:15:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 58565 invoked by uid 500); 21 May 2012 00:15:33 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 58557 invoked by uid 99); 21 May 2012 00:15:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 00:15:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ziggythehamster@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bk0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 00:15:26 +0000 Received: by bkcjc3 with SMTP id jc3so4697680bkc.11 for ; Sun, 20 May 2012 17:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=4hbrorsgQ2+fqlGL7RdEexjmJCFU0qRhGHp2QgNOB2w=; b=w2bnn0kOU2R9Q0N8mt8iEie+HHQwpS7S861uHBEB77Qz+rmGjqEWGDfRSGDFfgGEUu enIB8dXJ+YhVkQk68FjZnZjYKHrO0abjOCEjtbm5+H4myQkmw0/9w/hnn0k+CckVbiVG 5THdqPTLfwLtxpy2kDj1+Odr6dnKZhp8OSNAsRhH9iETN1ddSSoIpnQhXIo+i1B/gclj q2BCMlyfLDpPIn4gZqpu5n0soWusPBURuxBTfQN6JcIeDkLtAcVgY+gYX6zoelbA/Vw6 33GeSlDhUX1kF4odwFKQ8lR+eDZUBLbu7KTico2Vb0kpSXQN0K2oxzEGgu80oDgWT0KA HluQ== MIME-Version: 1.0 Received: by 10.204.155.135 with SMTP id s7mr6881102bkw.121.1337559305996; Sun, 20 May 2012 17:15:05 -0700 (PDT) Sender: ziggythehamster@gmail.com Received: by 10.205.39.130 with HTTP; Sun, 20 May 2012 17:15:05 -0700 (PDT) In-Reply-To: References: <22F97570-E6D7-4E72-96BB-9053DC15E211@sri.com> Date: Sun, 20 May 2012 19:15:05 -0500 X-Google-Sender-Auth: FgbJECaRLGbzTpRN8s1PrxS0KLI Message-ID: Subject: Re: Hierarchical comments Hacker News style From: Keith Gable To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 >> I'm not sure I'm following the whole thread, but why are you storing integers as strings? >> >> If you store them as numbers, they would collate right I think. > >Hi Jim, > >Can you provide an example? I merely provided an example of using integers as integers. --- Keith Gable A+ Certified Professional Network+ Certified Professional Storage+ Certified Professional Mobile Application Developer / Web Developer On Sun, May 20, 2012 at 11:25 AM, Luca Matteis wrote: > On Sun, May 20, 2012 at 4:10 PM, Keith Gable wrote: >> Integers as strings: >> >> ["1", "2", "3"] >> >> Integers as integers: >> >> [1, 2, 3] > > Okay, but how does that help with the question at hand?