Skip to content

Commit

Permalink
Fix errant keystroke
Browse files Browse the repository at this point in the history
  • Loading branch information
brusic committed Sep 25, 2023
1 parent 8fc0cb5 commit 188ff84
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import org.apache.lucene.search.Weight;
import org.apache.lucene.util.Bits;
import org.opensearch.common.lucene.Lucene;
import org.opensearch.core.ParseField;
import org.opensearch.core.common.io.stream.StreamInput;
import org.opensearch.core.common.io.stream.StreamOutput;
import org.opensearch.core.common.io.stream.Writeable;
Expand Down Expand Up @@ -251,7 +250,7 @@ public InternalAggregation[] buildAggregations(long[] owningBucketOrds) throws I
for (int j = i + 1; j < keys.length; j++) {
long bucketOrd = bucketOrd(owningBucketOrds[owningBucketOrdIdx], pos);
long docCount = bucketDocCount(bucketOrd);
// Empty buckets are not returned due to poteantial for very sparse matrices
// Empty buckets are not returned due to potential for very sparse matrices
if (docCount > 0) {
String intersectKey = keys[i] + separator + keys[j];
InternalAdjacencyMatrix.InternalBucket bucket = new InternalAdjacencyMatrix.InternalBucket(
Expand Down

0 comments on commit 188ff84

Please sign in to comment.