Skip to content

Commit 05123eb

Browse files
committed
add MULTI_VALUE_MODE_SUM
Signed-off-by: Karen X <karenxyr@gmail.com>
1 parent 4012437 commit 05123eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/transport-grpc/src/main/java/org/opensearch/transport/grpc/proto/request/search/query/functionscore/DecayFunctionProtoUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ static org.opensearch.search.MultiValueMode parseMultiValueMode(MultiValueMode m
3232
case MULTI_VALUE_MODE_AVG -> org.opensearch.search.MultiValueMode.AVG;
3333
case MULTI_VALUE_MODE_MAX -> org.opensearch.search.MultiValueMode.MAX;
3434
case MULTI_VALUE_MODE_MIN -> org.opensearch.search.MultiValueMode.MIN;
35+
case MULTI_VALUE_MODE_SUM -> org.opensearch.search.MultiValueMode.SUM;
3536
default -> throw new IllegalArgumentException("Unsupported multi value mode: " + multiValueMode);
3637
};
3738
}

0 commit comments

Comments
 (0)