Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getBuckets (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/global-heal.go

    	for _, bucket := range healBuckets {
    		if tracker.isHealed(bucket) {
    			continue
    		}
    
    		var forwardTo string
    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    		}
    		if b != "" {
    			// Reset to where last bucket ended if resuming.
    			tracker.resume()
    		}
    		tracker.setObject("")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. cmd/metacache-server-pool.go

    	if o.ID != "" && !o.Transient {
    		// Create or ping with handout...
    		rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
    		var c *metacache
    		if rpc == nil {
    			resp := localMetacacheMgr.getBucket(ctx, o.Bucket).findCache(*o)
    			c = &resp
    		} else {
    			rctx, cancel := context.WithTimeout(ctx, 5*time.Second)
    			c, err = rpc.GetMetacacheListing(rctx, *o)
    			cancel()
    		}
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    	h.Object = ""
    	h.Bucket = ""
    }
    
    func (h *healingTracker) getLastUpdate() time.Time {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return h.LastUpdate
    }
    
    func (h *healingTracker) getBucket() string {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return h.Bucket
    }
    
    func (h *healingTracker) setBucket(bucket string) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.Bucket = bucket
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    }
    
    // GetMetacacheListing - get a new or existing metacache.
    func (client *peerRESTClient) GetMetacacheListing(ctx context.Context, o listPathOptions) (*metacache, error) {
    	if client == nil {
    		resp := localMetacacheMgr.getBucket(ctx, o.Bucket).findCache(o)
    		return &resp, nil
    	}
    	return getMetacacheListingRPC.Call(ctx, client.gridConn(), &o)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K 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)
  9. cmd/peer-rest-server.go

    	}
    
    	return
    }
    
    func (s *peerRESTServer) GetMetacacheListingHandler(opts *listPathOptions) (*metacache, *grid.RemoteErr) {
    	resp := localMetacacheMgr.getBucket(context.Background(), opts.Bucket).findCache(*opts)
    	return &resp, nil
    }
    
    func (s *peerRESTServer) UpdateMetacacheListingHandler(req *metacache) (*metacache, *grid.RemoteErr) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top