Skip to content

Commit

Permalink
fixed broken assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Aug 16, 2023
1 parent 86ba6b7 commit f4703c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public IdLoader.Leaf leaf(LeafStoredFieldLoader loader, LeafReader reader, int[]
int docId = docIdsInLeaf[i];
var routingBuilder = builders[i];

tsIdDocValues.advanceExact(docId);
assert tsIdDocValues.getValueCount() == 1;
boolean found = tsIdDocValues.advanceExact(docId);
assert found;
BytesRef tsid = tsIdDocValues.lookupOrd(tsIdDocValues.ordValue());
timestampDocValues.advanceExact(docId);
assert timestampDocValues.docValueCount() == 1;
Expand Down

0 comments on commit f4703c0

Please sign in to comment.