Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 24078 invoked from network); 16 May 2010 22:31:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 22:31:31 -0000 Received: (qmail 26074 invoked by uid 500); 16 May 2010 22:31:29 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26035 invoked by uid 500); 16 May 2010 22:31:29 -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 26027 invoked by uid 99); 16 May 2010 22:31:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 22:31:29 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexander.uvarov@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 22:31:23 +0000 Received: by fxm10 with SMTP id 10so413325fxm.11 for ; Sun, 16 May 2010 15:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=759OQCELDbsk3Q3UyqyKrQd1N8/KkHdAWvFlmZHrY2w=; b=HJC16e5HXrEkN1aSgdlHK6W+TnguETGCAb1D0//UeKye3y5fRhD1ClAHUlXs7M+SGR q7Nz2lQSoIHzPlppRPCWSy0NTANUfGzkGQ5+0MaBsF/4gG21SebjuK/KPsN7BgzeiAZ9 /AlH55v56o06f2/u3NX/cFgPg9J4Nm2iz/V3o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=obiN4IUXN7Y9/YbUvZXOzYgpDLDa1FaZ9k5ylMyEX2EPCrWTRWXvJ0MOrZibdsOzJl Dft7rEfWqFnZnAPoGy6ya36LLJdEilnfaxj6tZubLpcW1IebjzM/Sgo3qcVGBD3/9++V +pcHQU+Ge/bWvROhZ92BObHRR/5GWAuwFK+8c= Received: by 10.223.50.68 with SMTP id y4mr5311458faf.51.1274049061917; Sun, 16 May 2010 15:31:01 -0700 (PDT) Received: from [89.204.50.134] ([89.204.50.134]) by mx.google.com with ESMTPS id y12sm22706832faj.17.2010.05.16.15.31.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 16 May 2010 15:31:01 -0700 (PDT) From: Alexander Uvarov Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: multipart/alternative; boundary=Apple-Mail-1--610884104 Subject: Re: Any better solution for my case? Date: Mon, 17 May 2010 04:30:59 +0600 In-Reply-To: To: user@couchdb.apache.org References: Message-Id: <41F5BE90-2CDA-44E9-9DFF-443BBB750AB8@gmail.com> X-Mailer: Apple Mail (2.1078) --Apple-Mail-1--610884104 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 17.05.2010, at 2:12, Jarrod Roberson wrote: > On Sun, May 16, 2010 at 3:33 PM, Alexander Uvarov < > alexander.uvarov@gmail.com> wrote: >=20 >> Currently I see the one and only solution -- just use couchdb-lucene = and >> transform criterions to actual lucene query string. >>=20 >> Any better ideas? >>=20 >=20 > You can try the approach I used here to do "ad hoc" queries using what = I > call a "pivot" index. > you could easily transform that into a multi-key query and use the = same > technique I used. >=20 > = http://www.vertigrated.com/blog/2010/04/generic-ad-hoc-queries-in-couchdb/= >=20 I am afraid that this approach can significantly break my server's = performance. --Apple-Mail-1--610884104--