Skip to content

Commit

Permalink
Drop leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan committed Feb 24, 2025
1 parent 0be02e5 commit cff3ad8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private static HitContext prepareNonNestedHitContext(
Source source = Source.lazy(lazyStoredSourceLoader(profiler, subReaderContext, subDocId));
return new HitContext(hit, subReaderContext, subDocId, Map.of(), source, rankDoc);
} else {
SearchHit hit = new SearchHit(docId, id, null);
SearchHit hit = new SearchHit(docId, id);
Source source;
if (requiresSource) {
Timer timer = profiler.startLoadingSource();
Expand Down

0 comments on commit cff3ad8

Please sign in to comment.