Skip to content

Commit c675a94

Browse files
committed
re-order constructor
1 parent 59ab6cf commit c675a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/search/lookup/ConcurrentSegmentSourceProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class ConcurrentSegmentSourceProvider implements SourceProvider {
3838
ConcurrentSegmentSourceProvider(MappingLookup lookup, SourceFilter filter, SourceFieldMetrics metrics) {
3939
this.sourceLoaderProvider = sourceFilter -> lookup.newSourceLoader(sourceFilter, metrics);
4040
this.sourceLoader = sourceLoaderProvider.apply(filter);
41-
this.isStoredSource = lookup.isSourceSynthetic() == false;
4241
// we force a sequential reader here since it is used during query execution where documents are scanned sequentially
42+
this.isStoredSource = lookup.isSourceSynthetic() == false;
4343
this.storedFieldLoader = StoredFieldLoader.create(isStoredSource, sourceLoader.requiredStoredFields(), true);
4444
}
4545

0 commit comments

Comments
 (0)