Skip to content

Commit 5392dd8

Browse files
ResolvedIndices marked as public API
1 parent ebace1f commit 5392dd8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

modules/rank-eval/src/main/java/org/opensearch/index/rankeval/TransportRankEvalAction.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@
8080
* averaged precision at n.
8181
*/
8282
public class TransportRankEvalAction extends HandledTransportAction<RankEvalRequest, RankEvalResponse> {
83-
// TODO: implementation of TransportIndicesResolvingAction, can we reuse implementation from TransportSearchAction (MultiSearch used)?
84-
// MultiSearch used under the hood. Probably each search request has the same indices and index options
85-
// Should we reuse TransportSearchAction?
8683

8784
private final Client client;
8885
private final ScriptService scriptService;

server/src/main/java/org/opensearch/cluster/metadata/ResolvedIndices.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
import org.opensearch.action.OriginalIndices;
1212
import org.opensearch.common.annotation.ExperimentalApi;
13+
import org.opensearch.common.annotation.PublicApi;
1314
import org.opensearch.core.index.Index;
1415

1516
import java.util.Arrays;
@@ -37,7 +38,7 @@
3738
* just taken without further evaluation</li>
3839
* </ul>
3940
*/
40-
@ExperimentalApi
41+
@PublicApi(since = "3.2.0")
4142
public class ResolvedIndices {
4243

4344
public static ResolvedIndices of(String... indices) {
@@ -118,7 +119,7 @@ public boolean isEmpty() {
118119
/**
119120
* Encapsulates the local (i.e., non-remote) indices referenced by the respective request.
120121
*/
121-
@ExperimentalApi
122+
@PublicApi(since = "3.2.0")
122123
public static class Local {
123124
private final Set<String> names;
124125
private final OriginalIndices originalIndices;

0 commit comments

Comments
 (0)