use of org.apache.geode.cache.lucene.internal.partition.BucketTargetingMap in project geode by apache.
the class PartitionedRepositoryManagerJUnitTest method checkRepository.
protected void checkRepository(IndexRepositoryImpl repo0, int bucketId) {
IndexWriter writer0 = repo0.getWriter();
RegionDirectory dir0 = (RegionDirectory) writer0.getDirectory();
assertEquals(new BucketTargetingMap(fileAndChunkBuckets.get(bucketId), bucketId), dir0.getFileSystem().getFileAndChunkRegion());
assertEquals(serializer, repo0.getSerializer());
}
Aggregations