Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 20677 invoked from network); 19 Apr 2009 17:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Apr 2009 17:06:20 -0000 Received: (qmail 72344 invoked by uid 500); 19 Apr 2009 17:06:19 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 72247 invoked by uid 500); 19 Apr 2009 17:06:19 -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 72237 invoked by uid 99); 19 Apr 2009 17:06:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2009 17:06:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jchris@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Apr 2009 17:06:11 +0000 Received: by qw-out-2122.google.com with SMTP id 5so549488qwd.29 for ; Sun, 19 Apr 2009 10:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6KBIBGlitJ6nbG20t++tX/EJw5Vlu+plhJfW1kmYUAU=; b=B7GAyvs8+8uaY/Ag0346xMLqqb4UvBOe/TIC2LT5T0ZV2KSll9LJ3+CPkHheBHwiF5 GVsguadEHFSXyMGq2uTmhnkvpgK5LY/xMCnz2DY4tGuBgfG4FzQPGlrUA3DtcQwiyUci wyG5R4zRXlOnPpEc0oLIkK8cu8RpvK4XYQjkE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=dHMJ0u0Txt4JJwvuAuFXTv6Kw0pltlC9VKv6YHxlNVxj/nFxmhxnSixt4ugrl9uLYY pwypAXGqwo7L7aKWZbqtUfQU8+xeapYVRV0xrs19j91HjF4T2GzSXyPFfM3lckPCoD0Y lCKFzCHnfPbVuQBw9bSJwE+6M7D6P1udxNoW0= MIME-Version: 1.0 Sender: jchris@gmail.com Received: by 10.220.84.78 with SMTP id i14mr1349507vcl.25.1240160750101; Sun, 19 Apr 2009 10:05:50 -0700 (PDT) In-Reply-To: <12F941E3-8A0B-4379-BC20-DB33D78D4B37@gmail.com> References: <099EB289-DDD7-4BE9-884E-8D06FBFE213E@apache.org> <12F941E3-8A0B-4379-BC20-DB33D78D4B37@gmail.com> Date: Sun, 19 Apr 2009 13:05:50 -0400 X-Google-Sender-Auth: 8617f04f6b628269 Message-ID: Subject: Re: Moving an attachment from one document to another From: Chris Anderson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Apr 19, 2009 at 12:49 PM, Wout Mertens wro= te: > > On Apr 19, 2009, at 12:26 AM, Justin Walgran wrote: > >> Making a separate doc per file from the get go, per Chris's >> suggestion, =A0is not a problem but how can I change the doc ID to >> something more meaningful after the doc is added? > > You can't. You'll have to create a new document and delete the old one. > There's only limited utility to human readable docids. The benefit is that you don't need a view to give easy access to the docs, the cost is that you increase the chances of collisions. I'd just use the view, as that's what they are for. --=20 Chris Anderson http://jchrisa.net http://couch.io