mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 14:08:30 +02:00
Add snippets to disable quantization in guide
This commit is contained in:
@@ -252,6 +252,13 @@ In this case, the quantized vector will be 16 times smaller than the original ve
|
||||
`always_ram` - whether to keep quantized vectors always cached in RAM or not. By default, quantized vectors are loaded in the same way as the original vectors.
|
||||
However, in some setups you might want to keep quantized vectors in RAM to speed up the search process. Then set `always_ram` to `true`.
|
||||
|
||||
|
||||
### Disabling Quantization
|
||||
|
||||
To disable quantization, you can do the following:
|
||||
|
||||
{{< code-snippet path="/documentation/headless/snippets/update-collection/disable-quantization/" >}}
|
||||
|
||||
### Searching with Quantization
|
||||
|
||||
Once you have configured quantization for a collection, you don't need to do anything extra to search with quantization.
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
This code snippet demonstrates disabling quantization for a collection.
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
```bash
|
||||
curl -X PATCH http://localhost:6333/collections/{collection_name} \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"quantization_config": "Disabled"
|
||||
}'
|
||||
```
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
```http
|
||||
PATCH /collections/{collection_name}
|
||||
{
|
||||
"quantization_config": "Disabled"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user