On Mon, Jul 19, 2010 at 21:38, Alexander Klimetschek <[email protected]> wrote: > 2010/7/19 Bénigot Yves <[email protected]>: >> 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 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 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. Regards, Alex -- Alexander Klimetschek [email protected]
