Skip to content

Commit 67f70e2

Browse files
committed
Fixes indentation
1 parent 55d3afe commit 67f70e2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/reference/query-languages/query-dsl/query-dsl-knn-query.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,25 +100,25 @@ The filter is a pre-filter, meaning that it is applied **during** the approximat
100100
`rescore_vector` {applies_to}`stack: preview 9.0, ga 9.1`
101101
: (Optional, object) Apply oversampling and rescoring to quantized vectors.
102102

103-
::::{note}
104-
Rescoring only makes sense for quantized vectors; when [quantization](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-quantization) is not used, the original vectors are used for scoring. Rescore option will be ignored for non-quantized `dense_vector` fields.
105-
::::
106-
103+
::::{note}
104+
Rescoring only makes sense for quantized vectors; when [quantization](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-quantization) is not used, the original vectors are used for scoring. Rescore option will be ignored for non-quantized `dense_vector` fields.
105+
::::
107106

108-
`oversample`
109-
: (Required, float)
107+
Parameter for `rescore_vector`:
108+
109+
`oversample`
110+
: (Required, float)
110111

111-
Applies the specified oversample factor to `k` on the approximate kNN search. The approximate kNN search will:
112+
Applies the specified oversample factor to `k` on the approximate kNN search. The approximate kNN search will:
112113

113-
* Retrieve `num_candidates` candidates per shard.
114-
* From these candidates, the top `k * oversample` candidates per shard will be rescored using the original vectors.
115-
* The top `k` rescored candidates will be returned.
116-
Must be one of the following values:
117-
* \>= 1f to indicate the oversample factor
118-
* Exactly `0` to indicate that no oversampling and rescoring should occur. {applies_to}`stack: ga 9.1`
114+
* Retrieve `num_candidates` candidates per shard.
115+
* From these candidates, the top `k * oversample` candidates per shard will be rescored using the original vectors.
116+
* The top `k` rescored candidates will be returned. Must be one of the following values:
117+
* \>= 1f to indicate the oversample factor
118+
* Exactly `0` to indicate that no oversampling and rescoring should occur. {applies_to}`stack: ga 9.1`
119119

120120

121-
See [oversampling and rescoring quantized vectors](docs-content://solutions/search/vector/knn.md#dense-vector-knn-search-rescoring) for details.
121+
See [oversampling and rescoring quantized vectors](docs-content://solutions/search/vector/knn.md#dense-vector-knn-search-rescoring) for details.
122122

123123

124124
`boost`

0 commit comments

Comments
 (0)