Skip to content

Commit

Permalink
Fix compilation after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 11, 2024
1 parent 0706f96 commit 4463cf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public LuceneSyntheticSourceChangesSnapshot(
assert mappingLookup.isSourceSynthetic();
// ensure we can buffer at least one document
this.maxMemorySizeInBytes = maxMemorySizeInBytes > 0 ? maxMemorySizeInBytes : 1;
this.sourceLoader = mappingLookup.newSourceLoader(SourceFieldMetrics.NOOP);
this.sourceLoader = mappingLookup.newSourceLoader(null, SourceFieldMetrics.NOOP);
Set<String> storedFields = sourceLoader.requiredStoredFields();
assert mappingLookup.isSourceSynthetic() : "synthetic source must be enabled for proper functionality.";
this.storedFieldLoader = StoredFieldLoader.create(false, storedFields);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ private void testBlockLoaderFromParent(boolean columnReader, boolean syntheticSo
XContentBuilder mapping = mapping(buildFields);
MapperService mapper = syntheticSource ? createSytheticSourceMapperService(mapping) : createMapperService(mapping);
BlockReaderSupport blockReaderSupport = getSupportedReaders(mapper, "field.sub");
var sourceLoader = mapper.mappingLookup().newSourceLoader(SourceFieldMetrics.NOOP);
var sourceLoader = mapper.mappingLookup().newSourceLoader(null, SourceFieldMetrics.NOOP);
testBlockLoader(columnReader, example, blockReaderSupport, sourceLoader);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ private void testBlockLoader(boolean syntheticSource, boolean columnReader) thro
blockReaderSupport.syntheticSource
);
}
var sourceLoader = mapper.mappingLookup().newSourceLoader(SourceFieldMetrics.NOOP);
var sourceLoader = mapper.mappingLookup().newSourceLoader(null, SourceFieldMetrics.NOOP);
testBlockLoader(columnReader, example, blockReaderSupport, sourceLoader);
}

Expand Down

0 comments on commit 4463cf2

Please sign in to comment.