Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 85719 invoked from network); 21 Mar 2008 20:35:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2008 20:35:15 -0000 Received: (qmail 47099 invoked by uid 500); 21 Mar 2008 20:35:13 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 47058 invoked by uid 500); 21 Mar 2008 20:35:12 -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 47049 invoked by uid 99); 21 Mar 2008 20:35:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 13:35:12 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Mar 2008 20:34:33 +0000 Received: from [10.0.1.198] (cpe-071-068-049-063.carolina.res.rr.com [::ffff:71.68.49.63]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Fri, 21 Mar 2008 20:34:24 +0000 Message-Id: <19B8884F-7F70-46CF-9842-50E0703C361B@apache.org> From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Working on Lucene Date: Fri, 21 Mar 2008 16:34:40 -0400 References: <200803211602.56058.sh@widetrail.dk> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org Heya Chris, On Mar 21, 2008, at 16:18 , Chris Anderson wrote: > On Fri, Mar 21, 2008 at 1:00 PM, Jan Lehnardt wrote: >> The first time a change notification is sent, that is, when no index >> has been written, >> LuceneIndexer fetches all documents from CouchDB and integrates their >> contents >> into the search index. > > My use case for full-text searching is a little different from the > process described here. I'd like to be able to use CouchDB's map > functions to create views, and run full-text searches against the view > keys. Eg: I'd like to search just across, say, the titles of any > documents which have a title attribute. > > Will this be supported? Perhaps I am just missing something - it seems > possible to configure Lucene to run a view-like function on the > document before indexing. But to me it seems that view keys are an > ideal way to set up an index for full-text searching. > > Just a couple of cents from my application's perspective. Thanks for the input. This is actually an implementation detail of the Indexer, but I agree that this should be supported. I also think we should have some standard way here so other search solutions can be plugged in without breaking things. Ideas are welcome. Cheers Jan --