Skip to content

Commit

Permalink
fix spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: kkewwei <[email protected]>
  • Loading branch information
kkewwei committed Apr 26, 2024
1 parent 9c0784d commit 494bd67
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ public class NestedAggregator extends BucketsAggregator implements SingleBucketA
super(name, factories, context, parent, cardinality, metadata);

Query parentFilter = isParent(parentObjectMapper, childObjectMapper, context.mapperService())
? parentObjectMapper.nestedTypeFilter() : Queries.newNonNestedFilter();
? parentObjectMapper.nestedTypeFilter()
: Queries.newNonNestedFilter();
this.parentFilter = context.bitsetFilterCache().getBitSetProducer(parentFilter);
this.childFilter = childObjectMapper.nestedTypeFilter();
this.collectsFromSingleBucket = cardinality.map(estimate -> estimate < 2);
Expand Down

0 comments on commit 494bd67

Please sign in to comment.