Skip to content

Commit 581a3db

Browse files
committed
tidy
1 parent 35751c1 commit 581a3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ private HitContext prepareNonNestedHitContext(SearchContext context,
304304
// Also make it available to scripts by storing it on the shared SearchLookup instance.
305305
hitContext.valuesLookup().source().setSource(fieldsVisitor.source());
306306

307-
SourceLookup scriptSourceLookup = context.getSearchExecutionContext().lookup().source();
307+
SourceLookup scriptSourceLookup = context.getSearchLookup().source();
308308
scriptSourceLookup.setSegmentAndDocument(subReaderContext, subDocId);
309309
scriptSourceLookup.setSource(fieldsVisitor.source());
310310
}

0 commit comments

Comments
 (0)