Skip to content

Commit ed872aa

Browse files
authored
Add availability annotation to rescore_vector (elastic#3560)
1 parent 163b24d commit ed872aa

File tree

4 files changed

+88
-25
lines changed

4 files changed

+88
-25
lines changed

output/schema/schema-serverless.json

Lines changed: 38 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 38 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Knn.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export interface KnnSearch {
5454
* @doc_id knn-inner-hits
5555
*/
5656
inner_hits?: InnerHits
57-
/** Apply oversampling and rescoring to quantized vectors */
57+
/** Apply oversampling and rescoring to quantized vectors *
58+
* @availability stack since=8.18.0 stability=experimental
59+
* @availability serverless stability=experimental
60+
*/
5861
rescore_vector?: RescoreVector
5962
}
6063

@@ -76,7 +79,10 @@ export interface KnnQuery extends QueryBase {
7679
filter?: QueryContainer | QueryContainer[]
7780
/** The minimum similarity for a vector to be considered a match */
7881
similarity?: float
79-
/** Apply oversampling and rescoring to quantized vectors */
82+
/** Apply oversampling and rescoring to quantized vectors *
83+
* @availability stack since=8.18.0 stability=experimental
84+
* @availability serverless stability=experimental
85+
*/
8086
rescore_vector?: RescoreVector
8187
}
8288

specification/_types/Retriever.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ export class KnnRetriever extends RetrieverBase {
7474
num_candidates: integer
7575
/** The minimum similarity required for a document to be considered a match. */
7676
similarity?: float
77-
/** Apply oversampling and rescoring to quantized vectors */
77+
/** Apply oversampling and rescoring to quantized vectors *
78+
* @availability stack since=8.18.0 stability=experimental
79+
* @availability serverless stability=experimental
80+
*/
7881
rescore_vector?: RescoreVector
7982
}
8083

0 commit comments

Comments
 (0)