Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 48969 invoked from network); 23 Mar 2009 14:36:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 14:36:15 -0000 Received: (qmail 16117 invoked by uid 500); 23 Mar 2009 14:36:14 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16043 invoked by uid 500); 23 Mar 2009 14:36:14 -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 16033 invoked by uid 99); 23 Mar 2009 14:36:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 14:36:14 +0000 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 14:36:06 +0000 Received: by wa-out-1112.google.com with SMTP id m38so1537179waf.27 for ; Mon, 23 Mar 2009 07:35:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.134.1 with SMTP id h1mr4840810wad.47.1237818929475; Mon, 23 Mar 2009 07:35:29 -0700 (PDT) In-Reply-To: References: <49C6B67A.50403@michevan.id.au> <320C65C6-93C7-44D4-99DF-5F382A18BE3E@apache.org> Date: Mon, 23 Mar 2009 10:35:29 -0400 Message-ID: <64a10fff0903230735p7e76ac60m9c02018ee53f36d6@mail.gmail.com> Subject: Re: json/couchdb integer min max values From: Dean Landolt To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00163645835e9671610465ca2de5 X-Virus-Checked: Checked by ClamAV on apache.org --00163645835e9671610465ca2de5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sun, Mar 22, 2009 at 10:34 PM, Daniel Friesen wrote: > I mean store your numbers as strings; "5" "500" "50000000000000005" then in > your view left0 pad those. (Then you don't have to worry about putting the 0 > padding in all documents. The views are persisted all the same as docs -- so you're still storing the 0s. But I guess depending on the app, a little extra storage is a small price to pay for precision. --00163645835e9671610465ca2de5--