Skip to content

Commit 867051a

Browse files
committed
added jdocs
1 parent 356c6a8 commit 867051a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ public StoredFieldsSpec merge(StoredFieldsSpec other) {
104104
);
105105
}
106106

107+
/**
108+
* Returns the unique source paths that should be loaded from source. Other source paths may be filtered out.
109+
* If an empty set is returned, then all source paths need to be loaded.
110+
*/
107111
private Set<String> mergeSourcePaths(StoredFieldsSpec other) {
108112
Set<String> mergedSourcePaths;
109113
if (this.sourcePaths.isEmpty() == false && other.sourcePaths.isEmpty() == false) {

0 commit comments

Comments
 (0)