Skip to content

Conversation

@pquentin
Copy link
Member

@pquentin pquentin commented Oct 3, 2025

Added in elastic/elasticsearch#105393. Fixes the following test:

// Test file: /test/free/search.vectors/170_knn_search_hex_encoded_byte_vectors.yml
// Test name: Knn search with hex string for byte field

import { expectAssignable } from 'tsd'
import * as T from '../types'

expectAssignable<T.SearchRequest>({
  "body": {
    "knn": {
      "field": "my_vector_byte",
      "k": 10,
      "num_candidates": 100,
      "query_vector": "400ae2"
    },
    "size": 3
  },
  "index": "knn_hex_vector_index",
  "typed_keys": true
})

@pquentin pquentin added the skip-backport This pull request should not be backported label Oct 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2025

Following you can find the validation changes against the target branch for the API.

API Status Request Response
search 🔴 2651/2669 → 2655/2669 2669/2669

You can validate this API yourself by using the make validate target.

@pquentin
Copy link
Member Author

This will be handled as part of the more general work to accept base64 vectors.

@pquentin pquentin closed this Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-backport This pull request should not be backported specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants