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 8E245D1F0 for ; Thu, 9 Aug 2012 17:33:38 +0000 (UTC) Received: (qmail 10690 invoked by uid 500); 9 Aug 2012 17:33:37 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 10624 invoked by uid 500); 9 Aug 2012 17:33:36 -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 10613 invoked by uid 99); 9 Aug 2012 17:33:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 17:33:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jens@couchbase.com designates 206.225.164.30 as permitted sender) Received: from [206.225.164.30] (HELO EXHUB020-3.exch020.serverdata.net) (206.225.164.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 17:33:28 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.56]) by EXHUB020-3.exch020.serverdata.net ([206.225.164.30]) with mapi; Thu, 9 Aug 2012 10:33:06 -0700 From: Jens Alfke To: "user@couchdb.apache.org" Date: Thu, 9 Aug 2012 10:33:08 -0700 Subject: How does "local_seq" design doc option work? Thread-Topic: How does "local_seq" design doc option work? Thread-Index: Ac12VQj5xr3Ra7MpT9mMhEok9m9o7A== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Could someone explain the "local_seq" design doc option? I've had a request= to implement it in TouchDB, but I don't know what it does. The only info a= bout it I can find is the Jira issue COUCHDB-346*, which describes adding t= hat property to the "options" object of a design doc, but it doesn't say wh= at exactly it does. There's no link to a patch, either. I've experimented by adding this option to a design doc in CouchDB 1.2, but= no matter how I query the view =97 like adding "?include_docs=3Dtrue&updat= e_seq=3Dtrue&local_seq=3Dtrue" to the URL =97 I don't see sequence numbers = appearing in the response. As usual, I promise to add what I've learned to the CouchDB wiki. :) =97Jens * https://issues.apache.org/jira/browse/COUCHDB-346=