Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
  • Loading branch information
bowenlan-amzn committed Jan 17, 2024
1 parent f2a220f commit ce81e3d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import java.util.function.Supplier;

/**
* Help rewrite aggregations into filters.
* Utility class to help rewrite aggregations into filters.
* Instead of aggregation collects documents one by one, filter may count all documents that match in one pass.
* <p>
* Currently supported rewrite:
Expand All @@ -51,7 +51,9 @@
*
* @opensearch.internal
*/
public class FastFilterRewriteHelper {
public final class FastFilterRewriteHelper {

private FastFilterRewriteHelper() {}

private static final int MAX_NUM_FILTER_BUCKETS = 1024;
private static final Map<Class<?>, Function<Query, Query>> queryWrappers;
Expand Down

0 comments on commit ce81e3d

Please sign in to comment.