public override void ReplaceIndexCounts(long indexId, long uniqueElements, long maxUniqueElements, long indexSize)
 {
     using (Org.Neo4j.Kernel.Impl.Api.CountsAccessor_IndexStatsUpdater updater = _counts.updateIndexCounts())
     {
         updater.ReplaceIndexSample(indexId, uniqueElements, maxUniqueElements);
         updater.ReplaceIndexUpdateAndSize(indexId, 0L, indexSize);
     }
 }
Exemple #2
0
 private void ResetIndexCounts(long indexId)
 {
     using (Org.Neo4j.Kernel.Impl.Api.CountsAccessor_IndexStatsUpdater updater = NeoStores().Counts.updateIndexCounts())
     {
         updater.ReplaceIndexSample(indexId, 0, 0);
         updater.ReplaceIndexUpdateAndSize(indexId, 0, 0);
     }
 }