org.neo4j.index.impl.lucene
Class LuceneIndexImplementation
java.lang.Object
org.neo4j.graphdb.index.IndexImplementation
org.neo4j.index.impl.lucene.LuceneIndexImplementation
public class LuceneIndexImplementation
- extends IndexImplementation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
EXACT_CONFIG
public static final Map<String,String> EXACT_CONFIG
FULLTEXT_CONFIG
public static final Map<String,String> FULLTEXT_CONFIG
DEFAULT_LAZY_THRESHOLD
public static final int DEFAULT_LAZY_THRESHOLD
- See Also:
- Constant Field Values
LuceneIndexImplementation
public LuceneIndexImplementation(GraphDatabaseService db,
Config config)
nodeIndex
public Index<Node> nodeIndex(String indexName,
Map<String,String> config)
- Description copied from class:
IndexImplementation
- Returns an
Index for Nodes for the name
indexName with the given config. The config
Map can contain any provider-implementation-specific data that
can control how an index behaves.
- Specified by:
nodeIndex in class IndexImplementation
- Parameters:
indexName - the name of the index.config - a Map of configuration parameters to use with the
index. Parameters can be anything and are implementation-specific. This
map represents how the configuration looks right now, they might be modified
later using IndexManager.setConfiguration(Index, String, String)
or IndexManager.removeConfiguration(Index, String).
- Returns:
- the
Index corresponding to the indexName and
config.
relationshipIndex
public RelationshipIndex relationshipIndex(String indexName,
Map<String,String> config)
- Description copied from class:
IndexImplementation
- Returns an
Index for Relationships for the name
indexName with the given config. The config
Map can contain any provider-implementation-specific data that
can control how an index behaves.
- Specified by:
relationshipIndex in class IndexImplementation
- Parameters:
indexName - the name of the index.config - a Map of configuration parameters to use with the
index. Parameters can be anything and are implementation-specific. This
map represents how the configuration looks right now, they might be modified
later using IndexManager.setConfiguration(Index, String, String)
or IndexManager.removeConfiguration(Index, String).
- Returns:
- the
Index corresponding to the indexName and
config. The return index is a RelationshipIndex with
additional query methods for efficiently filtering hits with respect to
start/end node of the relationships.
fillInDefaults
public Map<String,String> fillInDefaults(Map<String,String> source)
- Description copied from class:
IndexImplementation
- Fills in default configuration parameters for indexes provided from this
index provider.
- Specified by:
fillInDefaults in class IndexImplementation
- Parameters:
source - the configuration map to complete with defaults.
- Returns:
- a
Map filled with decent defaults for an index from
this index provider.
configMatches
public boolean configMatches(Map<String,String> storedConfig,
Map<String,String> config)
- Specified by:
configMatches in class IndexImplementation
getDataSourceName
public String getDataSourceName()
- Description copied from class:
IndexImplementation
- Returns the name of the XA data source coupled with this index provider.
- Specified by:
getDataSourceName in class IndexImplementation
- Returns:
- the name of the XA data source coupled with this index provider.
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.