Search in sources :

Example 1 with AutoIndexManager

use of org.neo4j.ogm.autoindex.AutoIndexManager in project neo4j-ogm by neo4j.

the class SessionFactory method runAutoIndexManager.

/**
 * Opens a session and runs the auto-index manager with the given configuration and the metadata configured in this
 * factory. This method can be run multiple times.
 *
 * @param configuration only used to configure aspects of the auto-index manager, not for the session factory at this point.
 */
public final void runAutoIndexManager(Configuration configuration) {
    Neo4jSession neo4jSession = (Neo4jSession) openSession();
    AutoIndexManager autoIndexManager = new AutoIndexManager(this.metaData, configuration, neo4jSession);
    autoIndexManager.run();
}
Also used : AutoIndexManager(org.neo4j.ogm.autoindex.AutoIndexManager)

Aggregations

AutoIndexManager (org.neo4j.ogm.autoindex.AutoIndexManager)1