Hi all,
I'm using Oak 1.6.1 with a file system storage (no migration from a
previous version of the data). I think I kinda got lost between the options
available to create the repository. I'm currently using a FileBlobStore
with the following configuration:

File repositoryFolder = new File(repositoryRoot, "repository");
File dataStoreFolder = new File(repositoryRoot, "datastore");

BlobStore blobStore = new FileBlobStore(dataStoreFolder.getAbsolutePath());
FileStore repositoryFileStore =
FileStoreBuilder.fileStoreBuilder(repositoryFolder).withBlobStore(blobStore).build();
SegmentNodeStore segmentNodeStore =
SegmentNodeStoreBuilders.builder(repositoryFileStore).build();
Jcr jcr = new Jcr(segmentNodeStore)
        .with(new InitialContent());

I was wondering if this configuration is the suggested one or there is a
better one (for example using a DataStoreBlobStore).


Marco.

Reply via email to