Examples of removeSoftDeletedDocuments()


Examples of com.ikanow.infinit.e.processing.generic.store_and_index.StoreAndIndexManager.removeSoftDeletedDocuments()

        }
      }
      StoreAndIndexManager dataStore = new StoreAndIndexManager();
      dataStore.removeFromDatastore_byURL(docs);
      AggregationManager.updateEntitiesFromDeletedDocuments(dataStore.getUUID());
      dataStore.removeSoftDeletedDocuments();
      AggregationManager.updateDocEntitiesFromDeletedDocuments(dataStore.getUUID());     
     
      // Actually update the DB counts:
      for (Map.Entry<ObjectId, Integer> communityInfo: communityMap.entrySet()) {
        System.out.println("Removed " + communityInfo.getValue() + " records from community " + communityInfo.getKey());
View Full Code Here

Examples of com.ikanow.infinit.e.processing.generic.store_and_index.StoreAndIndexManager.removeSoftDeletedDocuments()

       
        // Do all this last:
        // (Not so critical if we time out here, the next harvest cycle should finish it; though would like to be able to offload this
        //  also if we are doing it from the API, then need a different getUUID so we don't collide with our own harvester...)
        AggregationManager.updateEntitiesFromDeletedDocuments(dataStore.getUUID());
        dataStore.removeSoftDeletedDocuments();
        AggregationManager.updateDocEntitiesFromDeletedDocuments(dataStore.getUUID());       
     
      else if (!bDocsOnly) { // (null source key, just remove the source)
        DbManager.getIngest().getSource().remove(queryDbo);       
      }
View Full Code Here

Examples of com.ikanow.infinit.e.processing.generic.store_and_index.StoreAndIndexManager.removeSoftDeletedDocuments()

          }
         
        }//end loop over all sources
        StoreAndIndexManager dataStore = new StoreAndIndexManager();
        AggregationManager.updateEntitiesFromDeletedDocuments(dataStore.getUUID());
        dataStore.removeSoftDeletedDocuments();
        AggregationManager.updateDocEntitiesFromDeletedDocuments(dataStore.getUUID());

    logger.info("DB fixes: " + fixes_db);
    logger.info("Search fixes: " + fixes_search);
       
View Full Code Here

Examples of com.ikanow.infinit.e.processing.generic.store_and_index.StoreAndIndexManager.removeSoftDeletedDocuments()

        StoreAndIndexManager dataStore = new StoreAndIndexManager();
        boolean bResizedDB = dataStore.resizeDB();
        if (!bAggDisabled) {
          AggregationManager.updateEntitiesFromDeletedDocuments(dataStore.getUUID());
        }
        dataStore.removeSoftDeletedDocuments();
        if (!bAggDisabled) {
          AggregationManager.updateDocEntitiesFromDeletedDocuments(dataStore.getUUID());
        }
        if (bResizedDB) {
          _logger.info("(resized DB, now " + dataStore.getDatabaseSize() + " documents)");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.