Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 15510 invoked from network); 18 Apr 2011 20:41:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Apr 2011 20:41:47 -0000 Received: (qmail 47205 invoked by uid 500); 18 Apr 2011 20:41:46 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 47161 invoked by uid 500); 18 Apr 2011 20:41:46 -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 47153 invoked by uid 99); 18 Apr 2011 20:41:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Apr 2011 20:41:46 +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; Mon, 18 Apr 2011 20:41:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3FE66A7481 for ; Mon, 18 Apr 2011 20:41:06 +0000 (UTC) Date: Mon, 18 Apr 2011 20:41:06 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Message-ID: <1714048082.65495.1303159266258.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1867700318.63093.1303037886077.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1125) implement inclusive_start view option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021241#comment-13021241 ] Randall Leeds commented on COUCHDB-1125: ---------------------------------------- @Jan: inclusive=start|end|both|false start is the default false would be inclusive_start=false&inclusive_end=false How's that sound? Of course, keep inclusive_end around for API compatibility until 2.0. > implement inclusive_start view option > ------------------------------------- > > Key: COUCHDB-1125 > URL: https://issues.apache.org/jira/browse/COUCHDB-1125 > Project: CouchDB > Issue Type: Bug > Affects Versions: 1.2 > Reporter: Jan Lehnardt > Priority: Minor > Attachments: inclusive_start.patch > > > From COUCHDB-194: > I suggest to generalize to left or/and right opened range. > Because, to select a left opened range of keys, we have to use a tip. > Exemple : > keys = [1, 2, 3, 4, 5] > to select where 2 We have to do : startkey=2&skip=1 > But : > If keys are no unique, the "skip" tip no more works. > Ex: keys = [1, 2, 2, 3, 4, 5] > The request startkey=2&skip=1 doesn't work because a "2" key is returned. > (ps: non unique keys can be a wanted result) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira