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)
Constructs this data source.
|
Modifier and Type | Method and Description |
---|---|
static File |
getLuceneIndexStoreDirectory(File storeDir) |
void |
init() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles(boolean includeLogicalLogs) |
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)
public void init()
init
in interface org.neo4j.kernel.lifecycle.Lifecycle
init
in class org.neo4j.kernel.lifecycle.LifecycleAdapter
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(boolean includeLogicalLogs) throws IOException
IOException
public org.neo4j.graphdb.ResourceIterator<File> listStoreFiles() throws IOException
IOException
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.