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 7B970999F for ; Thu, 16 May 2013 10:56:55 +0000 (UTC) Received: (qmail 25439 invoked by uid 500); 16 May 2013 10:56:55 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 25311 invoked by uid 500); 16 May 2013 10:56:54 -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 25280 invoked by uid 99); 16 May 2013 10:56:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 10:56:53 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jann+couchdb-dev@thejh.net designates 37.221.195.125 as permitted sender) Received: from [37.221.195.125] (HELO thejh.net) (37.221.195.125) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 10:56:48 +0000 Received: from debjann.fritz.box (localhost [127.0.0.1]) by thejh.net (Postfix) with ESMTPA id BEC8B17F450; Thu, 16 May 2013 12:56:26 +0200 (CEST) Date: Thu, 16 May 2013 12:56:59 +0200 From: Jann Horn To: dev@couchdb.apache.org Subject: Re: [jira] [Created] (COUCHDB-1791) Initial index of views is highly fragmented Message-ID: <20130516105659.GG14308@debjann.fritz.box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org On Fri, May 10, 2013 at 02:41:16PM +0000, James Howe (JIRA) wrote: > function(doc) { > if (doc.a = 'b') { emit(doc._id, null); } > } OT: I think you want `==` instead of `=`?