Package org.apache.clerezza.rdf.cris

Examples of org.apache.clerezza.rdf.cris.IndexDefinitionManager


    }
    File luceneIndexDir = context.getBundleContext().getDataFile("lucene-index");
    boolean createNewIndex = luceneIndexDir.exists();
    logger.info("Create new index: {}", !createNewIndex);

    indexDefinitionManager = new IndexDefinitionManager(definitionGraph);
    try {
      graphIndexer = new GraphIndexer(definitionGraph, cgProvider.getContentGraph(),
          FSDirectory.open(luceneIndexDir), !createNewIndex);
      if(optimizePeriod != null && optimizePeriod >= 1) {
        long period = optimizePeriod * 60000;
 
View Full Code Here

TOP

Related Classes of org.apache.clerezza.rdf.cris.IndexDefinitionManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.