Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 66066 invoked from network); 31 Aug 2006 09:38:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 09:38:39 -0000 Received: (qmail 24887 invoked by uid 500); 31 Aug 2006 09:38:38 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 24864 invoked by uid 500); 31 Aug 2006 09:38:38 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 24855 invoked by uid 99); 31 Aug 2006 09:38:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 02:38:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gcaj-jackrabbit-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 02:38:37 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GIize-0005qZ-5Z for dev@jackrabbit.apache.org; Thu, 31 Aug 2006 11:37:50 +0200 Received: from gateway.subshell.com ([212.79.22.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Aug 2006 11:37:50 +0200 Received: from kiehl by gateway.subshell.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Aug 2006 11:37:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@jackrabbit.apache.org From: Christoph Kiehl Subject: Re: Jackrabbits own FileSystem and unit tests Date: Thu, 31 Aug 2006 11:35:38 +0200 Lines: 45 Message-ID: References: <510143ac0608270703h78e4863bm8a2040aca36455c4@mail.gmail.com> <90a8d1c00608300308w73ff275cp987296f40f3fe924@mail.gmail.com> <90a8d1c00608300910h72d77267uf1813bcc2e91f2b0@mail.gmail.com> <44F6888B.7070202@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: gateway.subshell.com User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: <44F6888B.7070202@gmx.net> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Marcel, > as mentioned before the current search index implementation does not > work on the jackrabbit FileSystem abstraction. The reason is lack of > support for random access on the FileSystemResource which is a > performance killer when lucene is running on top of that. Hm, I think all these folders & files: >> ./repository >> ./repository/index >> ./repository/index/_0 >> ./repository/index/indexes >> ./repository/index/ns_mappings.properties >> ./repository/index/redo.log >> ./version >> ./version/blobs >> ./workspaces >> ./workspaces/default >> ./workspaces/default/blobs >> ./workspaces/default/index >> ./workspaces/default/index/_0 >> ./workspaces/default/index/indexes >> ./workspaces/default/index/redo.log >> ./workspaces/default/workspace.xml >> ./.lock could be created using jr's FileSystem. The only problem I see is with the ".lock" file. This file requires FileSystem to implement a proper mechanism to create lock files. But this could be done. The indexes itself can use whatever they like, e.g. FSDirectory or RAMDirectory. This way there will be no files left written to the disk if I use a memory based file system. > in the long term I would like to put the index in the repository itself. > but that means that the repository (at least internally) has to support > random access on its binary resources. Hm, sounds interesting, but wouldn't this only work with file system based persistence managers? I mean, I can't imagine how to get an index with decent performance using a database based persistence manager in the near future? Do you already have an idea how achieve the needed performance? Cheers, Christoph