Search in sources :

Example 1 with LuceneSchemaIndexProviderFactory

use of org.neo4j.kernel.api.impl.schema.LuceneSchemaIndexProviderFactory in project neo4j by neo4j.

the class IndexingServiceIntegrationTest method setUp.

@Before
public void setUp() {
    EphemeralFileSystemAbstraction fileSystem = fileSystemRule.get();
    database = new TestGraphDatabaseFactory().setFileSystem(fileSystem).addKernelExtension(new LuceneSchemaIndexProviderFactory()).newImpermanentDatabase();
    createData(database, 100);
}
Also used : EphemeralFileSystemAbstraction(org.neo4j.graphdb.mockfs.EphemeralFileSystemAbstraction) TestGraphDatabaseFactory(org.neo4j.test.TestGraphDatabaseFactory) LuceneSchemaIndexProviderFactory(org.neo4j.kernel.api.impl.schema.LuceneSchemaIndexProviderFactory) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 EphemeralFileSystemAbstraction (org.neo4j.graphdb.mockfs.EphemeralFileSystemAbstraction)1 LuceneSchemaIndexProviderFactory (org.neo4j.kernel.api.impl.schema.LuceneSchemaIndexProviderFactory)1 TestGraphDatabaseFactory (org.neo4j.test.TestGraphDatabaseFactory)1