Toggle navigation
Home
org.neo4j.function.IOFunction<org.neo4j.kernel.api.impl.index.storage.DirectoryFactory, org.neo4j.kernel.api.impl.schema.LuceneIndexAccessor> to java.lang.Object
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Add or Remove Method invocation
arg(dirFactory1 -> { SchemaIndex index=LuceneSchemaIndexBuilder.create(indexDescriptor).withFileSystem(fileSystemRule.get()).withDirectoryFactory(dirFactory1).withIndexRootFolder(dir).withIndexIdentifier("1").build(); index.create(); index.open(); return new LuceneIndexAccessor(index,SOME_INDEX_DESCRIPTOR); } )
to
arg(GENERAL_INDEX,dirFactory1 -> { SchemaIndex index=LuceneSchemaIndexBuilder.create(GENERAL_INDEX).withFileSystem(fileSystemRule.get()).withDirectoryFactory(dirFactory1).withIndexRootFolder(dir).withIndexIdentifier("1").build(); index.create(); index.open(); return new LuceneIndexAccessor(index,GENERAL_INDEX); } )
arg(dirFactory1 -> { SchemaIndex index=LuceneSchemaIndexBuilder.create(uniqueIndexDescriptor).withFileSystem(fileSystemRule.get()).withDirectoryFactory(dirFactory1).withIndexRootFolder(dir).withIndexIdentifier("testIndex").build(); index.create(); index.open(); return new LuceneIndexAccessor(index,SOME_INDEX_DESCRIPTOR); } )
to
arg(UNIQUE_INDEX,dirFactory1 -> { SchemaIndex index=LuceneSchemaIndexBuilder.create(UNIQUE_INDEX).withFileSystem(fileSystemRule.get()).withDirectoryFactory(dirFactory1).withIndexRootFolder(dir).withIndexIdentifier("testIndex").build(); index.create(); index.open(); return new LuceneIndexAccessor(index,UNIQUE_INDEX); } )