Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 64520 invoked from network); 17 Jul 2008 21:13:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2008 21:13:21 -0000 Received: (qmail 16580 invoked by uid 500); 17 Jul 2008 21:13:20 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 16554 invoked by uid 500); 17 Jul 2008 21:13:20 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 16543 invoked by uid 99); 17 Jul 2008 21:13:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 14:13:20 -0700 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 paul.joseph.davis@gmail.com designates 209.85.198.242 as permitted sender) Received: from [209.85.198.242] (HELO rv-out-0708.google.com) (209.85.198.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 21:12:24 +0000 Received: by rv-out-0708.google.com with SMTP id k29so77539rvb.0 for ; Thu, 17 Jul 2008 14:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=sSya/VFKA2QSDx+bnOsW3vYItkIxWRKVWL09K6l2OVY=; b=dV0ra4bERi3sDfNwKj3T9a+tC7y+TCIRuotgcA2jAITIU40jlpJN9/YOB5OSFLX449 hQM0aHrYt4b6Xi30b6PT9nZYkHyufRIJZarm5rp7LYUwZaf+qW4Q2CeVlkJFSHsAzAX8 oS0DRrGbisfjW7DsflsrwuOg8axmYHX3jUSkQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=N0GZ6TFfD6OIHh0DvBDFcHODxWUycAeKvmMgeOz2YPP9PNn+elHv5/4/BYmq+5i77y Wk2fNBFCYlpMUjJyq195NVZMc+LHkz018/MA65Yaif0U35uxkMfFMetWobW2dZ1K/gBB CZAP0wh0SV+INYq4mtCcQrkJRNpORfmyUtz98= Received: by 10.141.49.6 with SMTP id b6mr1461980rvk.89.1216329168766; Thu, 17 Jul 2008 14:12:48 -0700 (PDT) Received: by 10.140.158.10 with HTTP; Thu, 17 Jul 2008 14:12:48 -0700 (PDT) Message-ID: Date: Thu, 17 Jul 2008 17:12:48 -0400 From: "Paul Davis" To: couchdb-user@incubator.apache.org Subject: Re: the search api? In-Reply-To: <64a10fff0807171357v152ee252v4637472bebeb74a3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <64a10fff0807171357v152ee252v4637472bebeb74a3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Heya, Yeah, the Xapian GPL stuff is kind of a PITA. Lucene would also be an option for getting around dumb legalities. And oh holy cow, pyndexter looks pretty interesting after reading the first paragraph. If it doesn't suck underneath the hood it'd be a pretty good way to allow people to use whichever engine they want. The only thing with the FTI is that the future of how we couple external software to couchdb is in a state of uncertainty. Between plugins and action servers etc, I was going to wait till there was something more steady in place before attacking this full force. The _search url was taken out for the 0.8 release. It should still be in the lucene branch though. Hacking it back into trunk should be a fairly trivial patch. Anyway, hope that helps. Feel free to shout if you have other questions, or if I haven't managed to answer the original ones. Paul On Thu, Jul 17, 2008 at 4:57 PM, Dean Landolt wrote: > Paul Davis' work on integrating couch and > xapianseems > like a good jumping-off point. But it seems to me it would be great if > I could do something like this with an abstraction layer between couch and > the search software (as an added bonus the code wouldn't have to be GPL'd > and could be distributed with couch). From what I can tell > pyndexterlooks like a nice > option -- it's got a great API and even has its own > built-in engine (pure-python, so slow, but no additional deps). Plus > pluggable multilingual stemming and a nice query syntax, etc... > > I'm going to see if I can't turn this into a generic middleware layer that > can catch couch's updates on stdin to update the index, but I don't even > know where to begin in connecting the query server. From what I gather, > there's no longer a /db/_search api -- how are these calls supposed to be > invoked? Any information would be fantastic. Couch has proved everything > I've wanted and more -- but I'd kill for a servicable search option... > > Dean >