Skip to content

Commit b7569b0

Browse files
Update x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/search/SparseVectorQueryBuilder.java
Co-authored-by: Kathleen DeRusso <[email protected]>
1 parent 55496f5 commit b7569b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/search/SparseVectorQueryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ protected QueryBuilder doRewrite(QueryRewriteContext queryRewriteContext) {
271271
throw new IllegalArgumentException("inference_id required to perform vector search on query string");
272272
}
273273

274-
// TODO(server): once search-time inference APIs exist in the server module, switch this to InferenceAction.Request
274+
// Move this class to `server` and update to use InferenceAction.Request
275275
CoordinatedInferenceAction.Request inferRequest = CoordinatedInferenceAction.Request.forTextInput(
276276
inferenceId,
277277
List.of(query),

0 commit comments

Comments
 (0)