Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 69991 invoked from network); 19 Jul 2010 19:43:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jul 2010 19:43:53 -0000 Received: (qmail 47708 invoked by uid 500); 19 Jul 2010 19:43:52 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 47572 invoked by uid 500); 19 Jul 2010 19:43:52 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 47441 invoked by uid 99); 19 Jul 2010 19:43:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 19:43:51 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@day.com designates 207.126.148.96 as permitted sender) Received: from [207.126.148.96] (HELO eu3sys201amo012.postini.com) (207.126.148.96) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 19 Jul 2010 19:43:45 +0000 Received: from source ([74.125.83.172]) by eu3sys201aob106.postini.com ([207.126.154.11]) with SMTP ID DSNKTESqUMAX/q67ul2RcNxsy7AssoSon8rW@postini.com; Mon, 19 Jul 2010 12:43:24 PDT Received: by pvd12 with SMTP id 12so1898895pvd.3 for ; Mon, 19 Jul 2010 12:41:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.136.1 with SMTP id j1mr7613312wfd.26.1279568463066; Mon, 19 Jul 2010 12:41:03 -0700 (PDT) Received: by 10.229.226.84 with HTTP; Mon, 19 Jul 2010 12:41:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Jul 2010 21:41:01 +0200 Message-ID: Subject: Re: Is there a way to store JackRabbit documents in two different datastores for one repository and yet index them with Lucene From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jul 19, 2010 at 21:38, Alexander Klimetschek wro= te: > 2010/7/19 B=E9nigot Yves : >> I have two categories of documents in one repository : >> >> - =A0 =A0 =A0some files are stored by the users, they would go in a file= datastore >> >> - =A0 =A0 =A0other files are generated, and already stored in an SQL tab= le in a BLOB column >> >> >> >> I would like to create a specific DataStore or PersistenceManager to be = able to leave the files stored in the SQL table where they are, >> >> yet define them as JackRabbit documents, and let Lucene index them >> >> >> >> Is it possible to have such a hybrid setup with two different storage se= en as one repository in JackRabbit ? > > The only way to do that would be by using two different workspaces for > the two use cases, and have each workspace configured differently. But > that would only apply to the persistence manager, not for the > DataStore, which is a single one for the entire repository. > > I agree that such a configuration would be useful. I could imagine > this being per-path, for example, one could say that /var or /tmp > folders (as in Unix file systems) are served by in-memory persistence > managers. BTW, I just noted https://issues.apache.org/jira/browse/JCR-2682 (a feature request) that goes into the same direction, I think. Regards, Alex --=20 Alexander Klimetschek alexander.klimetschek@day.com