use of org.neo4j.gis.spatial.index.curves.StandardConfiguration in project neo4j by neo4j.
the class GenericAccessorPointsTest method setup.
@BeforeEach
void setup() {
IndexDirectoryStructure directoryStructure = IndexDirectoryStructure.directoriesByProvider(directory.homePath()).forProvider(DESCRIPTOR);
descriptor = TestIndexDescriptorFactory.forLabel(1, 1);
IndexFiles indexFiles = new IndexFiles.Directory(fs, directoryStructure, descriptor.getId());
GenericLayout layout = new GenericLayout(1, indexSettings);
RecoveryCleanupWorkCollector collector = RecoveryCleanupWorkCollector.ignore();
DatabaseIndexContext databaseIndexContext = DatabaseIndexContext.builder(pageCache, fs, DEFAULT_DATABASE_NAME).build();
StandardConfiguration configuration = new StandardConfiguration();
accessor = new GenericNativeIndexAccessor(databaseIndexContext, indexFiles, layout, collector, descriptor, indexSettings, configuration, SIMPLE_NAME_LOOKUP);
}
Aggregations