Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3600975EB for ; Wed, 28 Sep 2011 23:06:13 +0000 (UTC) Received: (qmail 42968 invoked by uid 500); 28 Sep 2011 23:06:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42929 invoked by uid 500); 28 Sep 2011 23:06:11 -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 42921 invoked by uid 99); 28 Sep 2011 23:06:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 23:06:11 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [109.169.49.54] (HELO zoe.mltserver-three.co.uk) (109.169.49.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 23:06:05 +0000 Received: from 02dc6bf2.bb.sky.com ([2.220.107.242] helo=[192.168.0.3]) by zoe.mltserver-three.co.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1R93C9-0003vy-GE for user@couchdb.apache.org; Thu, 29 Sep 2011 00:05:41 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: CouchDB-Lucene & direct index use From: Martin Hewitt In-Reply-To: Date: Thu, 29 Sep 2011 00:05:40 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <333DB649-A8CE-41FD-8F95-C765B47A074D@thenoi.se> References: <02D8CE23-877A-4D2C-B2FC-34D5E58227AA@thenoi.se> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zoe.mltserver-three.co.uk X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thenoi.se X-Source: X-Source-Args: X-Source-Dir: Excellent Robert, thank you ever so much. Martin=20 On 28 Sep 2011, at 23:57, Robert Newson wrote: > If you hit the info url > (http://127.0.0.1:5984//_fti/_design/foo/), you should see > a uuid and a digest field. e.g, >=20 > = {"disk_size":10453,"last_modified":"1317250531000","optimized":true,"ref_c= ount":2,"doc_del_count":0,"current":true,"doc_count":110,"digest":"2rwwuvr= 2ss4re1qounwgcdk3u","uuid":"634437de-e31e-4715-b60d-938069105c70","fields"= :["default","number"]} >=20 > The path to that index is > = ROOT_DIR/634437de-e31e-4715-b60d-938069105c70/2rwwuvr2ss4re1qounwgcdk3u/ >=20 > B. >=20 > On 28 September 2011 12:43, Martin Hewitt wrote: >> Hi all, >>=20 >> We use couchdb-lucene extensively in our projects, but we've hit a = point where we need to load IndexReaders directly on the relevant = indexes, and perform operations we can't through the CouchDB REST API. >>=20 >> I've noticed the index folder names don't correspond directly (i.e. = clearly) to couch databases, and was wondering if there's a way of = matching an index folder to a database? >>=20 >> Thanks, >>=20 >> Martin