Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for bucketLoader (0.12 seconds)

  1. cmd/metrics-v3-types.go

    	ExtraLabels map[string]string
    
    	// Loader functions to load metrics. Only one of these will be set. Metrics
    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    	cache *metricsCache
    
    	// managed values follow:
    
    	// map of metric descriptors by metric name.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

            facetInfo.sort = "count.desc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
            assertEquals(BucketOrder.count(false), order);
        }
    
        // Test getBucketOrder with count.asc
        @Test
        public void test_getBucketOrder_countAsc() {
            facetInfo.sort = "count.asc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/FacetInfo.java

            }
        }
    
        /**
         * Converts the sort string into a BucketOrder object for OpenSearch aggregations.
         * Parses sort configuration like "count.desc" or "term.asc" into appropriate bucket ordering.
         *
         * @return the BucketOrder instance representing the sort configuration
         */
        public BucketOrder getBucketOrder() {
            if (StringUtil.isNotBlank(sort)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/StringTermsSerializationBenchmark.java

                resultBuckets.add(new StringTerms.Bucket(new BytesRef("test" + i), i, inner, false, 0, DocValueFormat.RAW));
            }
            return new StringTerms(
                "test",
                BucketOrder.key(true),
                BucketOrder.key(true),
                buckets,
                1,
                null,
                DocValueFormat.RAW,
                buckets,
                false,
                100000,
                resultBuckets,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Aug 12 21:50:17 GMT 2021
    - 3K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                }
    
                Collections.sort(buckets, (a, b) -> a.compareKey(b));
                return new StringTerms(
                    "terms",
                    BucketOrder.key(true),
                    BucketOrder.count(false),
                    topNSize,
                    1,
                    Collections.emptyMap(),
                    DocValueFormat.RAW,
                    numShards,
                    true,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

    import org.codelibs.fess.taglib.FessFunctions;
    import org.dbflute.optional.OptionalEntity;
    import org.opensearch.search.aggregations.AggregationBuilders;
    import org.opensearch.search.aggregations.BucketOrder;
    import org.opensearch.search.aggregations.bucket.histogram.DateHistogramInterval;
    import org.opensearch.search.aggregations.bucket.histogram.Histogram;
    import org.opensearch.search.aggregations.bucket.terms.Terms;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.search.aggregations.AggregationBuilders;
    import org.opensearch.search.aggregations.BucketOrder;
    import org.opensearch.search.aggregations.bucket.terms.Terms;
    import org.opensearch.search.aggregations.bucket.terms.Terms.Bucket;
    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    
    /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
Back to Top