Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Sandesh Kumar <[email protected]>
  • Loading branch information
sandeshkr419 committed Feb 3, 2024
1 parent 82d1532 commit 8922b88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ public class GlobalOrdinalsStringTermsAggregator extends AbstractStringTermsAggr

private final LongPredicate acceptedGlobalOrdinals;
private final long valueCount;

private String fieldName;

private final String fieldName;
private Weight weight;
private final GlobalOrdLookupFunction lookupGlobalOrd;
protected final CollectionStrategy collectionStrategy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,6 @@ private void searchLeaf(LeafReaderContext ctx, Weight weight, Collector collecto
// See please https://github.com/apache/lucene/pull/964
collector.setWeight(weight);
leafCollector = collector.getLeafCollector(ctx);
if (leafCollector == null) {
return;
}
} catch (CollectionTerminatedException e) {
// there is no doc of interest in this reader context
// continue with the following leaf
Expand Down

0 comments on commit 8922b88

Please sign in to comment.