org.neo4j.index.impl.lucene
Class LuceneIndexImplementation

java.lang.Object
  extended by org.neo4j.graphdb.index.IndexImplementation
      extended by org.neo4j.index.impl.lucene.LuceneIndexImplementation

public class LuceneIndexImplementation
extends IndexImplementation


Field Summary
static int DEFAULT_LAZY_THRESHOLD
           
static Map<String,String> EXACT_CONFIG
           
static Map<String,String> FULLTEXT_CONFIG
           
static String SERVICE_NAME
           
 
Constructor Summary
LuceneIndexImplementation(GraphDatabaseService db, Config config)
           
 
Method Summary
 boolean configMatches(Map<String,String> storedConfig, Map<String,String> config)
           
 Map<String,String> fillInDefaults(Map<String,String> source)
           
 String getDataSourceName()
           
 Index<Node> nodeIndex(String indexName, Map<String,String> config)
           
 RelationshipIndex relationshipIndex(String indexName, Map<String,String> config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

LuceneIndexImplementation

public LuceneIndexImplementation(GraphDatabaseService db,
                                 Config config)
Method Detail

nodeIndex

public Index<Node> nodeIndex(String indexName,
                             Map<String,String> config)
Specified by:
nodeIndex in class IndexImplementation

relationshipIndex

public RelationshipIndex relationshipIndex(String indexName,
                                           Map<String,String> config)
Specified by:
relationshipIndex in class IndexImplementation

fillInDefaults

public Map<String,String> fillInDefaults(Map<String,String> source)
Specified by:
fillInDefaults in class IndexImplementation

configMatches

public boolean configMatches(Map<String,String> storedConfig,
                             Map<String,String> config)
Specified by:
configMatches in class IndexImplementation

getDataSourceName

public String getDataSourceName()
Specified by:
getDataSourceName in class IndexImplementation


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.