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 74DA210165 for ; Tue, 22 Oct 2013 13:22:37 +0000 (UTC) Received: (qmail 4951 invoked by uid 500); 22 Oct 2013 13:22:35 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 4916 invoked by uid 500); 22 Oct 2013 13:22:35 -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 4908 invoked by uid 99); 22 Oct 2013 13:22:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 13:22:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.160.41] (HELO mail-pb0-f41.google.com) (209.85.160.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 13:22:29 +0000 Received: by mail-pb0-f41.google.com with SMTP id rp16so8641326pbb.28 for ; Tue, 22 Oct 2013 06:22:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=CvHdpOm35sPRvqYSgIyGmHtRD9Mt3nAlUiVTofePv+Y=; b=aNlZNuxnIi8HGDEGkwGDGsgo6UT/fuQO9ppxOAjgXZalVoXE1tv3BfgrNP4HPi57Bx KcPptxRh/3otxIaJVzy/9PYcYs3FDIihhRBYbNuPsPUyDV21+dsThSypjU8cEDaco27u Gpld8WAUbtYCmf6XDpvfilBIsAlguj0p6JhC12GaGZHmW8+2WQEwG+fJgwES8uGllSdz znIT3v28rE/cwWLiPe/JNdwtqT8LHHLmXA5Y7PZswkq//ylOyEPh6n9/CCsx/TdTHnJX 5NU0p62hbbr12EDiVYReqLfYI5yiThEfXjbO3oUhW0rXIjwklHAP3DZZljrNore335c6 mHlA== X-Gm-Message-State: ALoCoQkqSiriv8H2MkgkYcBMqzFM3AzqK40NwHeEQwhA3a4+CRawxNeRXVvbbQPwIvB6L36NIZg2 MIME-Version: 1.0 X-Received: by 10.67.4.136 with SMTP id ce8mr7193551pad.158.1382448128148; Tue, 22 Oct 2013 06:22:08 -0700 (PDT) Received: by 10.69.11.68 with HTTP; Tue, 22 Oct 2013 06:22:08 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Oct 2013 15:22:08 +0200 Message-ID: Subject: Re: CouchDB: Return Results in Random Order From: =?UTF-8?Q?Johannes_J=C3=B6rg_Schmidt?= To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org There is rcouch [1], a distribution of couchdb using rebar, is extensible via custom extensions, one for random docs [3]. [1] https://github.com/refuge/rcouch [2] https://github.com/refuge/rcouch/wiki/Custom-Extensions [3] https://github.com/refuge/rcouch/wiki/couch_randomdoc 2013/10/22 Robert Newson : > > Sorry, nope. > > On 22 Oct 2013, at 13:28, Hank Knight wrote: > >> This returns 10 results: >> http://localhost:5984/mydb/_design/type/_view/q?limit=10&key=%22xyz%22 >> >> Is there a way for the results to be returned in random order? >