File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
modules/rank-eval/src/main/java/org/opensearch/index/rankeval
server/src/main/java/org/opensearch/cluster/metadata Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 8080 * averaged precision at n.
8181 */
8282public 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 ;
Original file line number Diff line number Diff line change 1010
1111import org .opensearch .action .OriginalIndices ;
1212import org .opensearch .common .annotation .ExperimentalApi ;
13+ import org .opensearch .common .annotation .PublicApi ;
1314import org .opensearch .core .index .Index ;
1415
1516import java .util .Arrays ;
3738 * just taken without further evaluation</li>
3839 * </ul>
3940 */
40- @ ExperimentalApi
41+ @ PublicApi ( since = "3.2.0" )
4142public 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 ;
You can’t perform that action at this time.
0 commit comments