Skip to content

Commit

Permalink
[DOCS] Mention that vector quantization increases disk usage (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonpijpelink committed Jan 18, 2024
1 parent d5042e9 commit 5d20137
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/reference/how-to/knn-search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ structures. So these same recommendations also help with indexing speed.
The default <<dense-vector-element-type,`element_type`>> is `float`. But this
can be automatically quantized during index time through
<<dense-vector-quantization,`quantization`>>. Quantization will reduce the
required memory by 4x, but it will also reduce the precision of the vectors. For
`float` vectors with `dim` greater than or equal to `384`, using a
required memory by 4x, but it will also reduce the precision of the vectors and
increase disk usage for the field (by up to 25%).

For `float` vectors with `dim` greater than or equal to `384`, using a
<<dense-vector-quantization,`quantized`>> index is highly recommended.

[discrete]
Expand Down

0 comments on commit 5d20137

Please sign in to comment.