Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 73979 invoked from network); 19 Apr 2010 10:19:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Apr 2010 10:19:47 -0000 Received: (qmail 42992 invoked by uid 500); 19 Apr 2010 10:19:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42848 invoked by uid 500); 19 Apr 2010 10:19:45 -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 42835 invoked by uid 99); 19 Apr 2010 10:19:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 10:19:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of faust451@gmail.com designates 209.85.219.221 as permitted sender) Received: from [209.85.219.221] (HELO mail-ew0-f221.google.com) (209.85.219.221) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Apr 2010 10:19:37 +0000 Received: by ewy21 with SMTP id 21so952331ewy.25 for ; Mon, 19 Apr 2010 03:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=M8j2jnwG1HeT1tUJYE07v9GQzXfkx31PFcnyVDW9dtM=; b=XiKwAJCWv/ALB/NFDTejTRc5YE3Q2C+AfUW4+f++ttP4H21GkvMNV1yQIRw1Y4bq86 hr9WEiGW0lEev562h8ODE7gkrgkw8Lai75r2xljtxBy1OInbiU7OSMsagBv4+b/Mv3qb SY6EVSObYvhPajI63tZ9gsS0F+6x90NionzIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=NxQfSGHhKX7vUYpCTxhDxKA9FImXygD/QEAFZ0AO5++CBlcSRsEVfqGEZmo1tv/2Wo hazvT5SiX6im0lmnly2oblmS2UB3/jS6tzrQLQEzMAGlI/VgN4Da8pwOgy0p5A3c+JMN Mhk9UhCKB30EwgrS0AZRVXQw9np/7yUbIm0uc= MIME-Version: 1.0 Received: by 10.213.36.14 with HTTP; Mon, 19 Apr 2010 03:19:16 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Apr 2010 14:19:16 +0400 Received: by 10.213.25.69 with SMTP id y5mr2608352ebb.7.1271672356977; Mon, 19 Apr 2010 03:19:16 -0700 (PDT) Message-ID: Subject: Re: Short ids in url. From: faust 1111 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 yes i know that i can create my own ids but i am interesting in what way couch guy's solve this. 2010/4/19 David Coallier : >> >> i need short integer ids in url =A0like host/audios/23342 >> how couch guy's catch this? > > You'd have to create your own IDs when creating a new document. > > Check out the PUT part of the document API where you specify a document i= d: > http://wiki.apache.org/couchdb/HTTP_Document_API > > This should help you :) > > > -- > David Coallier >