org.neo4j.index.impl.lucene
Class LuceneIndexImplementation

java.lang.Object
  extended by org.neo4j.index.impl.lucene.LuceneIndexImplementation
All Implemented Interfaces:
org.neo4j.graphdb.index.IndexImplementation

public class LuceneIndexImplementation
extends Object
implements org.neo4j.graphdb.index.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(org.neo4j.graphdb.GraphDatabaseService db, LuceneDataSource dataSource, org.neo4j.kernel.impl.index.IndexConnectionBroker<LuceneXaConnection> broker)
           
 
Method Summary
 boolean configMatches(Map<String,String> storedConfig, Map<String,String> config)
           
 Map<String,String> fillInDefaults(Map<String,String> source)
           
 String getDataSourceName()
           
 org.neo4j.graphdb.GraphDatabaseService graphDb()
           
 boolean matches(org.neo4j.graphdb.GraphDatabaseService gdb)
           
 org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> nodeIndex(String indexName, Map<String,String> config)
           
 org.neo4j.graphdb.index.RelationshipIndex relationshipIndex(String indexName, Map<String,String> config)
           
 void reset(LuceneDataSource dataSource, org.neo4j.kernel.impl.index.IndexConnectionBroker<LuceneXaConnection> broker)
           
 
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(org.neo4j.graphdb.GraphDatabaseService db,
                                 LuceneDataSource dataSource,
                                 org.neo4j.kernel.impl.index.IndexConnectionBroker<LuceneXaConnection> broker)
Method Detail

nodeIndex

public org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> nodeIndex(String indexName,
                                                                       Map<String,String> config)
Specified by:
nodeIndex in interface org.neo4j.graphdb.index.IndexImplementation

relationshipIndex

public org.neo4j.graphdb.index.RelationshipIndex relationshipIndex(String indexName,
                                                                   Map<String,String> config)
Specified by:
relationshipIndex in interface org.neo4j.graphdb.index.IndexImplementation

fillInDefaults

public Map<String,String> fillInDefaults(Map<String,String> source)
Specified by:
fillInDefaults in interface org.neo4j.graphdb.index.IndexImplementation

configMatches

public boolean configMatches(Map<String,String> storedConfig,
                             Map<String,String> config)
Specified by:
configMatches in interface org.neo4j.graphdb.index.IndexImplementation

getDataSourceName

public String getDataSourceName()
Specified by:
getDataSourceName in interface org.neo4j.graphdb.index.IndexImplementation

matches

public boolean matches(org.neo4j.graphdb.GraphDatabaseService gdb)

reset

public void reset(LuceneDataSource dataSource,
                  org.neo4j.kernel.impl.index.IndexConnectionBroker<LuceneXaConnection> broker)

graphDb

public org.neo4j.graphdb.GraphDatabaseService graphDb()


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.