Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/134887.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 134887
summary: Avoid holding references to `SearchExecutionContext` in `SourceConfirmedTextQuery`
area: Mapping
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ private IOFunction<LeafReaderContext, CheckedIntFunction<List<Object>, IOExcepti
String name = storedFieldNameForSyntheticSource();
return storedFieldFetcher(name);
}
ValueFetcher valueFetcher = valueFetcher(searchExecutionContext, null);
SourceProvider sourceProvider = searchExecutionContext.lookup();
return context -> {
ValueFetcher valueFetcher = valueFetcher(searchExecutionContext, null);
SourceProvider sourceProvider = searchExecutionContext.lookup();
valueFetcher.setNextReader(context);
return docID -> {
try {
Expand Down
Loading