Skip to content

Commit 6684d33

Browse files
authored
Re-order the FunctionName enum class to ensure bwc in 2.11 (opensearch-project#2091)
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>
1 parent a32d35a commit 6684d33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/src/main/java/org/opensearch/ml/common/FunctionName.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public enum FunctionName {
1717
RCF_SUMMARIZE,
1818
LOGISTIC_REGRESSION,
1919
TEXT_EMBEDDING,
20-
SPARSE_ENCODING,
21-
SPARSE_TOKENIZE,
2220
METRICS_CORRELATION,
23-
REMOTE;
21+
REMOTE,
22+
SPARSE_ENCODING,
23+
SPARSE_TOKENIZE;
2424

2525
public static FunctionName from(String value) {
2626
try {

0 commit comments

Comments
 (0)