Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 55717 invoked from network); 15 Dec 2008 22:53:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Dec 2008 22:53:46 -0000 Received: (qmail 30366 invoked by uid 500); 15 Dec 2008 22:53:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 30326 invoked by uid 500); 15 Dec 2008 22:53:57 -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 30313 invoked by uid 99); 15 Dec 2008 22:53:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 14:53:57 -0800 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 ara.t.howard@gmail.com designates 209.85.219.13 as permitted sender) Received: from [209.85.219.13] (HELO mail-ew0-f13.google.com) (209.85.219.13) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2008 22:53:35 +0000 Received: by ewy6 with SMTP id 6so3708460ewy.11 for ; Mon, 15 Dec 2008 14:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=H70vqbHtATanwL0FiFzFMYcoZelGiG1msgs7hAtpXKg=; b=HFD6Cta7pMAeMFoBoR5LHj6HC65zL5YQSG3QiGiMfrkQ/fo9MtN0smeidpMNg5NIR5 5umZCSx9WSbUM8a8t/TkYkIjuAg80YNYBJ1Dwv/9eBJLAjrKGhWnPFQ1A3XHu5XVyJe6 6KFEGAdNGhXi0/2FPL2B+CTBYDMzhEyrHY2YQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=C5QP9vbEGcsYNt34PIjP2ipp9a1YdrQfHY3+Fbnj+iLeGdldr9Fr47t3oBFBPWAiUK pfwHzlbAYz68YD1/Xhvd/pVPtFidWCdBs/xrvkIJtVk/rAEpDT0M+/Q66aS4P/jk+MBa 7sTvoS8WJxVO7fwqiQt+nQjycjvYmT6iRE+wU= Received: by 10.210.144.8 with SMTP id r8mr5145791ebd.169.1229381594019; Mon, 15 Dec 2008 14:53:14 -0800 (PST) Received: from ?192.168.0.3? ([65.103.96.46]) by mx.google.com with ESMTPS id 7sm13302eyb.11.2008.12.15.14.53.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Dec 2008 14:53:13 -0800 (PST) Message-Id: <6DCE17DF-FDA8-46E0-B606-826A865212F3@gmail.com> From: "ara.t.howard" To: user@couchdb.apache.org In-Reply-To: <64a10fff0812150946r7ca6ced2pc1776468bc5533a2@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Multiple search criteria with ranges Date: Mon, 15 Dec 2008 15:53:08 -0700 References: <12C3EB1F-8F69-4998-BB83-F45564CC9F64@gmail.com> <50512BF7-84AA-4870-89E0-35D22B87D2F0@gmail.com> <64a10fff0812150946r7ca6ced2pc1776468bc5533a2@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org On Dec 15, 2008, at 10:46 AM, Dean Landolt wrote: > I don't think it's the actual intersection that kills, but the > downloading > and json parsing of what would be megabytes of data (just the docids > alone > for 200k docs would be quite a few mb). yeah that is a good point. it's about 1.7 mb per 100k of json ids. if the 'client' were actually like a rails instance running on the same box or subnet as the db i guess that could work out, but otherwise it's a pretty tough sell. i wonder about doing something creative with indexing both an attribute and an id and them limiting by start/endkey and docid.... sure seems like this should be solvable. cheers. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama