Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC22E4DFC for ; Sun, 3 Jul 2011 14:39:44 +0000 (UTC) Received: (qmail 87682 invoked by uid 500); 3 Jul 2011 14:39:44 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 87642 invoked by uid 500); 3 Jul 2011 14:39:43 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 87634 invoked by uid 99); 3 Jul 2011 14:39:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2011 14:39:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jul 2011 14:39:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E5323442A4A for ; Sun, 3 Jul 2011 14:39:21 +0000 (UTC) Date: Sun, 3 Jul 2011 14:39:21 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: <601244786.767.1309703961935.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1434080944.754.1309701921922.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (COUCHDB-1211) startkey_docid alone does start with that document id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson resolved COUCHDB-1211. ------------------------------------ Resolution: Fixed Updated wiki page with clarification that these two _docid parameters are only for paginating when startkey/endkey have duplicates. It is not practical to support starting-by-docid as the view index does not contain an index on that value (the index is [key, doc_id]). > startkey_docid alone does start with that document id > ----------------------------------------------------- > > Key: COUCHDB-1211 > URL: https://issues.apache.org/jira/browse/COUCHDB-1211 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 1.1 > Environment: Windows 7 > Reporter: Jan Schulz > Priority: Minor > > I tried to iterator over a view in steps and tried to use the doc._id as a starting point for the next step: > http://localhost:5984/test3/_design/testdesign/_view/testview?skip=1&startkey_docid=&limit=10 > with as the last already seen ID. The result was that this value wasn't used at all in the results: it always returned the 2-11 (doe to skip) values and I got a infinitive loop. From the documentation in the wiki I would have expected that the startkey_docid is enought to specify the first entry of the resultset. > It would be nice if you could either clarify the documentation (http://wiki.apache.org/couchdb/HTTP_view_API) or implement the starting-by-docid feature. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira