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 A9CC71099C for ; Tue, 15 Oct 2013 12:39:15 +0000 (UTC) Received: (qmail 31263 invoked by uid 500); 15 Oct 2013 12:39:07 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30725 invoked by uid 500); 15 Oct 2013 12:38:47 -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 30694 invoked by uid 99); 15 Oct 2013 12:38:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 12:38:39 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hknight555@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 12:38:34 +0000 Received: by mail-wi0-f177.google.com with SMTP id h11so684301wiv.16 for ; Tue, 15 Oct 2013 05:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wcClIzmyBpjozlOSmlbbh0MKRuGF+tN7CFgkr8PHlWM=; b=C0K+2tTX6beedibKokEsoSsT01ouEVqXy07fsRkajDPDFL/oM0A5efhJf9p9btjkGl Scg1H9dt3oLgov3LXkuDwn6OWO9UPFoUJZDoXbEZ/MOmIkoaTNCqFhiztW1AvNslvoQS e/j+3BFGNgcC4ydisdvmUQV0a+c2TX1FdY3cULPC0RLRnCMtFRF2QMwtC3Goz4ICWcCJ G9KSAxeULLnp3Umj77wF5L8hYicN+belbIXQXgYd87pf5dU99jYrWp9QDtf1dKYTG2bU E6yNKBrz7iZamNR5AyQ8y38UCBNo5S+JLP8TbplL8d13qyF9rDh/+QfMH5fWJ9RQlD/Q +8Sw== MIME-Version: 1.0 X-Received: by 10.194.88.225 with SMTP id bj1mr1452533wjb.50.1381840693410; Tue, 15 Oct 2013 05:38:13 -0700 (PDT) Received: by 10.217.45.199 with HTTP; Tue, 15 Oct 2013 05:38:13 -0700 (PDT) Date: Tue, 15 Oct 2013 09:38:13 -0300 Message-ID: Subject: Strange values for "total_rows" and "offset" From: Hank Knight To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=089e010d852aaac3d104e8c6db2b X-Virus-Checked: Checked by ClamAV on apache.org --089e010d852aaac3d104e8c6db2b Content-Type: text/plain; charset=ISO-8859-1 There are only 10 matching results where the key is "GOLD": http://example.com/abc/_design/iws/_view/q?key=%GOLD%22 However the first line of the response is this: {"total_rows":52340,"offset":218,"rows":[ Why doesn't it say this? {"total_rows":10,"offset":0,"rows":[ The problem is that when I limit results like this: http://example.com/abc/_design/iws/_view/q?key=%GOLD%22&limit=5&skip=0 I cannot tell from the response if that response includes all matches or only the first five. --089e010d852aaac3d104e8c6db2b--