From bac2062267455ae999ad97693b26d344c54465c6 Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Thu, 8 Aug 2024 17:03:25 -0700 Subject: [PATCH] Update ranges comment Signed-off-by: Finn Carroll --- .../search/optimization/filterrewrite/PackedValueRanges.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/search/optimization/filterrewrite/PackedValueRanges.java b/server/src/main/java/org/opensearch/search/optimization/filterrewrite/PackedValueRanges.java index 4e839fe20e5bd..bfee822d1ce85 100644 --- a/server/src/main/java/org/opensearch/search/optimization/filterrewrite/PackedValueRanges.java +++ b/server/src/main/java/org/opensearch/search/optimization/filterrewrite/PackedValueRanges.java @@ -11,7 +11,8 @@ import org.apache.lucene.util.ArrayUtil; /** - * Internal ranges representation for the filter rewrite optimization + * Packed value representation of aggregation buckets for the filter rewrite optimization. + * It is convenient to represent our buckets in this way while traversing PointValues.PointTree. */ public final class PackedValueRanges { static ArrayUtil.ByteArrayComparator comparator;