use of org.neo4j.kernel.api.impl.index.storage.IndexStorageFactory in project neo4j by neo4j.
the class AccessUniqueDatabaseIndexTest method getIndexStorage.
private PartitionedIndexStorage getIndexStorage() {
IndexProviderDescriptor descriptor = new IndexProviderDescriptor(NATIVE30.providerKey(), NATIVE30.providerVersion());
IndexDirectoryStructure parent = directoriesByProvider(databaseLayout.databaseDirectory()).forProvider(descriptor);
IndexStorageFactory storageFactory = new IndexStorageFactory(directoryFactory, fileSystem, directoriesBySubProvider(parent).forProvider(LuceneIndexProvider.DESCRIPTOR));
return storageFactory.indexStorageOf(1);
}
Aggregations