jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Is there a way to store JackRabbit documents in two different datastores for one repository and yet index them with Lucene
Date Mon, 19 Jul 2010 19:41:01 GMT
On Mon, Jul 19, 2010 at 21:38, Alexander Klimetschek <aklimets@day.com> wrote:
> 2010/7/19 Bénigot Yves <yves.benigot@ginerativ.fr>:
>> I have two categories of documents in one repository :
>> -      some files are stored by the users, they would go in a file datastore
>> -      other files are generated, and already stored in an SQL table in a BLOB
>> 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 seen 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.

Alexander Klimetschek

View raw message