Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 44229 invoked from network); 19 Nov 2009 17:00:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 17:00:51 -0000 Received: (qmail 34420 invoked by uid 500); 19 Nov 2009 17:00:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 34352 invoked by uid 500); 19 Nov 2009 17:00:49 -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 34342 invoked by uid 99); 19 Nov 2009 17:00:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 17:00:49 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of magnus.eklund@gmail.com designates 209.85.217.214 as permitted sender) Received: from [209.85.217.214] (HELO mail-gx0-f214.google.com) (209.85.217.214) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 17:00:47 +0000 Received: by gxk6 with SMTP id 6so2294977gxk.13 for ; Thu, 19 Nov 2009 09:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=f8aHrNtyE8rGINhaRghgPXvdUCHTTxxnUkpZAIGbZCg=; b=IeZuSFzbqlxF4kDQ1GnYWwO5SC3Lt8x9c0zjYDbE2gHMIAkWWJYcedwhUc+fSl7tUS AtfzylRCPmPve65wKqnNj8+jlQ0FyRZujQn7jQb0dRQl1PP5b+kVYSAJqC/MlHnFRtqa djzEdtIhAfnvoczjo26QI1tkCQ+4m/KtPqUJE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=UvaiQ5dvgLpE42wo3ztr1Fejw6JYS6690o2xYVUcGYzOq6A/Ejx5ciBE++DgmcKFZm KjoESr0cPerNphF5ZeuXxwC7kp7Y7cGvPI84gRog7b2WRpkAbnzxbMm/OTA6HlHLOrIy Jfo5wXxkD4Gy2eqIJpCjfiijm6XAAwrAMrlJs= Received: by 10.213.24.24 with SMTP id t24mr1732978ebb.16.1258650023627; Thu, 19 Nov 2009 09:00:23 -0800 (PST) Received: from ?10.0.1.2? (c-baee70d5.05-213-7570701.cust.bredbandsbolaget.se [213.112.238.186]) by mx.google.com with ESMTPS id 14sm307070ewy.15.2009.11.19.09.00.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Nov 2009 09:00:22 -0800 (PST) From: Magnus Eklund Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Inner join / filtering Date: Thu, 19 Nov 2009 18:00:21 +0100 Message-Id: <11C885EF-FB6E-4E09-95D8-2AC96F35F58C@gmail.com> To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) Hi I have two potentially very large collections of documents. Now I would like to be able to query one of them using for example startkey,endkey while at the same time filtering out documents not present in the other collection (based on the equality of some field common to both document types). Is there any reasonable way to do this with CouchDb? Thanks - Magnus Eklund