public class LuceneDataSource extends Object implements org.neo4j.kernel.lifecycle.Lifecycle
LuceneIndexImplementation.| Modifier and Type | Class and Description |
|---|---|
static class |
LuceneDataSource.Configuration |
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NAME |
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.util.Version |
LUCENE_VERSION |
static org.apache.lucene.analysis.Analyzer |
WHITESPACE_ANALYZER |
| Constructor and Description |
|---|
LuceneDataSource(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 |
|---|---|
void |
init() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles() |
org.neo4j.graphdb.ResourceIterator<File> |
listStoreFiles(boolean includeLogicalLogs) |
void |
shutdown() |
void |
start() |
void |
stop() |
public static final org.apache.lucene.util.Version LUCENE_VERSION
public static final String DEFAULT_NAME
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(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.Lifecyclepublic void start()
start in interface org.neo4j.kernel.lifecycle.Lifecyclepublic void stop()
throws IOException
stop in interface org.neo4j.kernel.lifecycle.LifecycleIOExceptionpublic void shutdown()
shutdown in interface org.neo4j.kernel.lifecycle.Lifecyclepublic org.neo4j.graphdb.ResourceIterator<File> listStoreFiles(boolean includeLogicalLogs) throws IOException
IOExceptionpublic org.neo4j.graphdb.ResourceIterator<File> listStoreFiles() throws IOException
IOExceptionCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.