Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 55265 invoked from network); 7 Aug 2009 16:12:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 16:12:25 -0000 Received: (qmail 58360 invoked by uid 500); 7 Aug 2009 16:12:32 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 58270 invoked by uid 500); 7 Aug 2009 16:12:31 -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 58260 invoked by uid 99); 7 Aug 2009 16:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 16:12:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nborwankar@gmail.com designates 209.85.198.229 as permitted sender) Received: from [209.85.198.229] (HELO rv-out-0506.google.com) (209.85.198.229) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 16:12:22 +0000 Received: by rv-out-0506.google.com with SMTP id g37so409365rvb.35 for ; Fri, 07 Aug 2009 09:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=1nj9n5YthxHSNTM02xbqukUHEtrKwNColBMKs+eFe3E=; b=YYCXfxrjXl2ec7QSVK1W7zjaaVh/fPXAwKWxTJRZ3Fp9TTurTGU9mWiqEhY9Hb9gfx mxfJmQ7jYSkL4wG5REUK7B5f1XUhvtTyBrbE8pfmjQaVO89pDkc/yYFJSp7OFTwQz7Ur Kosr8OvYTq+x+cl+xzwlsGFK4dj+LhpvWRp9I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=SCOqmcaSnJ4i1k3DRvY9kl4xwxIU5pof6vKYdcGA8qnXUlYn8Zr4OLNim5pEM8YGYj tmnUNUBpmQU09gyNAw99ALtO9Mbuzpr1l/f9kHnY5GyArDtcUWRM/3xzoCefVc5n7pcW At+kX3myNoL5hQPBF6/5tX/AvxedJci8o/UhM= MIME-Version: 1.0 Sender: nborwankar@gmail.com Received: by 10.140.164.20 with SMTP id m20mr477255rve.143.1249661520822; Fri, 07 Aug 2009 09:12:00 -0700 (PDT) In-Reply-To: <46aeb24f0908070546j39b16de0rb56a426dff41423f@mail.gmail.com> References: <921000908070337g29a1db4k641b1328efaff8d8@mail.gmail.com> <46aeb24f0908070546j39b16de0rb56a426dff41423f@mail.gmail.com> Date: Fri, 7 Aug 2009 09:12:00 -0700 X-Google-Sender-Auth: 89a96906ce20f3bd Message-ID: <921000908070912m53bd0935o8a82d896cd5b1c77@mail.gmail.com> Subject: Re: integrating couchdb-lucene and regular _shows and _lists From: Nitin Borwankar To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=000e0cd213dc09c4dc04708f7f60 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd213dc09c4dc04708f7f60 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Robert, That would be great! Then I won't have to do this two step. Nitin 37% of all statistics are made up on the spot ------------------------------------------------------------------------------------- Nitin Borwankar nborwankar@gmail.com On Fri, Aug 7, 2009 at 5:46 AM, Robert Newson wrote: > Adding _show and _list support is on my list for the 0.4 release. If I > get time at the weekend, I might get this done. > > B. > > On Fri, Aug 7, 2009 at 11:37 AM, Nitin Borwankar > wrote: > > Hello all, > > > > I am working on a BibJSON browsing couchapp, for which couchdb-lucene > search > > is critical as is the ability to do counts and grouping (which lucene > > doesn't do - yes solr does, I know). > > It would be ideal if couchdb-lucene results could be integrated with the > > _list/_show functionality of couch, but in the absence of that I found a > > poor-mans' integration that I thought I'd pass on. > > > > It's pretty simple and obvious when you think about it - essentially > > couchdb-lucene returns the id of a doc and score at the minimum. > > This id can then be passed to an _show function or to an _list function > with > > key= param > > Actually couchdb-lucene can return multiple fields depending on what you > > choose to store, so other fields can be used as params to _list via key= > > also I suppose. > > > > This way you can get the full power of text search and use map-reduce > views > > for aggregation, without having to figure out how to integrate solr with > > couch which would have a lot of overlap. > > > > Passing on in case anyone is trying to integrate the two in one app. > > > > Nitin > > > > > > 37% of all statistics are made up on the spot > > > ------------------------------------------------------------------------------------- > > Nitin Borwankar > > nborwankar@gmail.com > > > --000e0cd213dc09c4dc04708f7f60--