public class LuceneDataSource
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
LuceneIndexImplementation
.Modifier and Type | Class and Description |
---|---|
static class |
LuceneDataSource.Configuration |
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.analysis.Analyzer |
KEYWORD_ANALYZER |
static org.apache.lucene.analysis.Analyzer |
LOWER_CASE_WHITESPACE_ANALYZER
Default
Analyzer for fulltext parsing. |
static org.apache.lucene.analysis.Analyzer |
WHITESPACE_ANALYZER |
Constructor and Description |
---|
LuceneDataSource(File storeDir,
org.neo4j.kernel.configuration.Config config,
org.neo4j.kernel.impl.index.IndexConfigStore indexStore,
org.neo4j.io.fs.FileSystemAbstraction fileSystemAbstraction,
org.neo4j.kernel.impl.factory.OperationalMode operationalMode)
Constructs this data source.
|
Modifier and Type | Method and Description |
---|---|
void |
assertValidType(String key,
Object value,
org.neo4j.index.impl.lucene.legacy.IndexIdentifier identifier) |
static File |
getLuceneIndexStoreDirectory(File storeDir) |
void |
init() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles() |
void |
shutdown() |
public static final org.apache.lucene.analysis.Analyzer LOWER_CASE_WHITESPACE_ANALYZER
Analyzer
for fulltext parsing.public static final org.apache.lucene.analysis.Analyzer WHITESPACE_ANALYZER
public static final org.apache.lucene.analysis.Analyzer KEYWORD_ANALYZER
public LuceneDataSource(File storeDir, org.neo4j.kernel.configuration.Config config, org.neo4j.kernel.impl.index.IndexConfigStore indexStore, org.neo4j.io.fs.FileSystemAbstraction fileSystemAbstraction, org.neo4j.kernel.impl.factory.OperationalMode operationalMode)
public void init()
init
in interface org.neo4j.kernel.lifecycle.Lifecycle
init
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
public void assertValidType(String key, Object value, org.neo4j.index.impl.lucene.legacy.IndexIdentifier identifier) throws org.neo4j.kernel.api.exceptions.legacyindex.LegacyIndexNotFoundKernelException
org.neo4j.kernel.api.exceptions.legacyindex.LegacyIndexNotFoundKernelException
public void shutdown() throws IOException
shutdown
in interface org.neo4j.kernel.lifecycle.Lifecycle
shutdown
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
IOException
public org.neo4j.graphdb.ResourceIterator<File> listStoreFiles() throws IOException
IOException
Copyright © 2002–2019 The Neo4j Graph Database Project. All rights reserved.