Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for totbuckets (0.08 sec)

  1. cmd/site-replication-utils.go

    	if currSt != ResyncStarted {
    		return currSt
    	}
    	totBuckets := len(m)
    	var cmpCount, failCount int
    	for _, st := range m {
    		switch st {
    		case ResyncCompleted:
    			cmpCount++
    		case ResyncFailed:
    			failCount++
    		}
    	}
    	if cmpCount == totBuckets {
    		return ResyncCompleted
    	}
    	if cmpCount+failCount == totBuckets {
    		return ResyncFailed
    	}
    	return ResyncStarted
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "obj0", "obj0", nil},
    		{testBuckets[0], "obj1", "obj1", nil},
    		{testBuckets[0], "obj2", "obj2", nil},
    		{testBuckets[1], "obj1", "obj1", nil},
    		{testBuckets[1], "obj2", "obj2", nil},
    		{testBuckets[1], "temporary/0/", "", nil},
    		{testBuckets[3], "A/B", "contentstring", nil},
    		{testBuckets[4], "file1/receipt.json", "content", nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	now := UTCNow()
    	s := SiteResyncStatus{
    		Version:        siteResyncMetaVersion,
    		Status:         ResyncStarted,
    		DeplID:         dID,
    		TotBuckets:     len(buckets),
    		BucketStatuses: make(map[string]ResyncStatusType),
    	}
    	for _, bi := range buckets {
    		s.BucketStatuses[bi.Name] = ResyncPending
    	}
    	s.ResyncID = mustGetUUID()
    	s.StartTime = now
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		return err
    	}
    	pReader := NewPutObjReader(hr)
    	_, err = api.PutObject(ctx, tgtBucket, tgtObject, pReader, opts)
    	return err
    }
    
    func (r *BatchJobReplicateV1) copyWithMultipartfromSource(ctx context.Context, api ObjectLayer, c *miniogo.Core, srcObjInfo ObjectInfo, opts ObjectOptions, partsCount int) (err error) {
    	srcBucket := r.Source.Bucket
    	tgtBucket := r.Target.Bucket
    	srcObject := srcObjInfo.Name
    	tgtObject := srcObjInfo.Name
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                        }
                    }, null);
                });
                final Terms agg = list.getAggregations().get(SearchLogPager.LOG_TYPE_CLICK_COUNT);
                final List<? extends Terms.Bucket> buckets = agg.getBuckets();
                updatePagerByAgg(pager, buckets.size());
                return buckets.stream().map(e -> {
                    final Map<String, Object> map = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/FacetResponse.java

                name = new String(BaseEncoding.base64().decode(encodedField), StandardCharsets.UTF_8);
                for (final Terms.Bucket tfEntry : termFacet.getBuckets()) {
                    valueCountMap.put(tfEntry.getKeyAsString(), tfEntry.getDocCount());
                }
            }
    
            /**
             * @return the valueCountMap
             */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                searchResponse.ifPresent(response -> {
                    final Terms terms = response.getAggregations().get(fessConfig.getIndexFieldSegment());
                    for (final Bucket bucket : terms.getBuckets()) {
                        final Map<String, String> map = new HashMap<>(2);
                        map.put(fessConfig.getIndexFieldSegment(), bucket.getKey().toString());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	}
    
    	gotBuckets := set.NewStringSet()
    	for _, b := range accInfo.Buckets {
    		gotBuckets.Add(b.Name)
    		if !(b.Access.Read && b.Access.Write) {
    			c.Fatalf("root user should have read and write access to bucket: %v", b.Name)
    		}
    	}
    	shouldHaveBuckets := set.CreateStringSet(bucket2, bucket)
    	if !gotBuckets.Equals(shouldHaveBuckets) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top