From user-return-20875-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sun May 20 14:11:09 2012 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 0EEF396DA for ; Sun, 20 May 2012 14:11:09 +0000 (UTC) Received: (qmail 8754 invoked by uid 500); 20 May 2012 14:11:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 8689 invoked by uid 500); 20 May 2012 14:11:07 -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 8681 invoked by uid 99); 20 May 2012 14:11:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 14:11:07 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,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; Sun, 20 May 2012 14:11:01 +0000 Received: by bkcjc3 with SMTP id jc3so4452516bkc.11 for ; Sun, 20 May 2012 07:10:40 -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=nNfRi9evVidhkKEysseBw/pl5pmgE3DHvITwppLbP6g=; b=U5d9QL2E7DT97Uz54VE92A4KuOvTQ235kWgj4cMKBlYSBZ2kWrkM6yxYt0rYMi2/gQ T+YfurcgW71JTDUxXZKEX/AUbsyrty3RUVpgrALiHhzrCp6r2jnFlPez/riyg1hjNNvA cxzUuQWriQnbqOC1WLEaVxI6tRtPOcjxCe3Oe1DW6vQ8KyGNOICjYKHEaShHyG9jjF6A M40Moya5NV8bU2RhFxDNm6LhekquQ943+AQeZfZfq6GHfMUx9mASAwDfuu/RXaiF/j7U YB0Xz5pT9EM5gyNwW4gS4OjmUi0dCccWXSEGroUxgBxxuDOCzAgwrejgRQlLwHNWmWQ0 m+vQ== MIME-Version: 1.0 Received: by 10.204.155.135 with SMTP id s7mr6317567bkw.121.1337523040738; Sun, 20 May 2012 07:10:40 -0700 (PDT) Sender: ziggythehamster@gmail.com Received: by 10.205.39.130 with HTTP; Sun, 20 May 2012 07:10:40 -0700 (PDT) Received: by 10.205.39.130 with HTTP; Sun, 20 May 2012 07:10:40 -0700 (PDT) In-Reply-To: References: <22F97570-E6D7-4E72-96BB-9053DC15E211@sri.com> Date: Sun, 20 May 2012 09:10:40 -0500 X-Google-Sender-Auth: WJ-9H2H4M-ErpWvXPZaIuB4zI1g Message-ID: Subject: Re: Hierarchical comments Hacker News style From: Keith Gable To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0015175dd8feb8dbea04c078595e --0015175dd8feb8dbea04c078595e Content-Type: text/plain; charset=ISO-8859-1 Integers as strings: ["1", "2", "3"] Integers as integers: [1, 2, 3] On May 20, 2012 3:37 AM, "Luca Matteis" wrote: > On Sun, May 20, 2012 at 6:08 AM, Jim Klo wrote: > > 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? > --0015175dd8feb8dbea04c078595e--