Skip to content

Commit acaa883

Browse files
committed
iter
1 parent 9547c7e commit acaa883

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ static SourceProvider fromLookup(MappingLookup lookup, SourceFilter filter, Sour
4040
/**
4141
* Optionally returns a new {@link SourceProvider} that is more optimized to load source with the provided source filter in mind.
4242
* <p>
43-
* Currently, if source mode is synthetic, and only a subset of fields are requested, then only loading source for requested fields
44-
* is much more efficient.
43+
* Currently this is only the case if source mode is synthetic, and only a subset of fields is requested,
44+
* then only loading source for requested fields is much more efficient.
4545
*
4646
* @param sourceFilter The part of the source caller is actually interested in.
47-
* @return a new instance if source can be loaded in optimal a more optimal way, otherwise returns this instance.
47+
* @return a new instance if source can be loaded in a more optimal way, otherwise returns this instance.
4848
*/
4949
default SourceProvider optimizedSourceProvider(SourceFilter sourceFilter) {
5050
return this;

0 commit comments

Comments
 (0)