Skip to content

Commit 42049d1

Browse files
mridula-s109elasticsearchmachinekderusso
authored
Cleanup: Remove obsolete TODO from SparseVectorQueryBuilder (#134702)
* Removed the TODO * Updated the sparevector similar to Semantic query builder * Update docs/changelog/134702.yaml * Remove obsolete TODO comment from SparseVectorQueryBuilder * [CI] Auto commit changes from spotless * Modified the TODO to make more sense * Delete docs/changelog/134702.yaml * Update x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/search/SparseVectorQueryBuilder.java Co-authored-by: Kathleen DeRusso <[email protected]> * Update SparseVectorQueryBuilder.java --------- Co-authored-by: elasticsearchmachine <[email protected]> Co-authored-by: Kathleen DeRusso <[email protected]>
1 parent 2cadeff commit 42049d1

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 move this to xpack core and use inference APIs
274+
// TODO: 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)