public override IDisposable InitializeIndexingWork(TransactionOperationContext indexContext) { var mode = DocumentDatabase.Is32Bits ? CollectionOfBloomFilters.Mode.X86 : CollectionOfBloomFilters.Mode.X64; _filters = CollectionOfBloomFilters.Load(mode, indexContext); return(_filters); }
public override IDisposable InitializeIndexingWork(TransactionOperationContext indexContext) { var mode = sizeof(int) == IntPtr.Size || DocumentDatabase.Configuration.Storage.ForceUsing32BitsPager ? CollectionOfBloomFilters.Mode.X86 : CollectionOfBloomFilters.Mode.X64; _filters = CollectionOfBloomFilters.Load(mode, indexContext); return(_filters); }
public override IDisposable InitializeIndexingWork(TransactionOperationContext indexContext) { _filter = CollectionOfBloomFilters.Load(CollectionOfBloomFilters.BloomFilter.Capacity, indexContext); return(null); }