Skip to content

Commit d29c1fc

Browse files
committed
corrections to storage options
1 parent ef4e10e commit d29c1fc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

articles/search/vector-search-how-to-storage-options.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,23 @@ Azure AI Search stores multiple copies of vector fields that are used in specifi
1616

1717
## Prerequisites
1818

19-
- [Compressed vector fields](vector-search-how-to-quantization.md) in a search index.
19+
- [Vvector fields](vector-search-how-to-create-index.md) in a search index.
2020

2121
## How vector fields are stored
2222

2323
For every vector field, there are three copies of vectors:
2424

25-
- `source` (in JSON) as received from an embedding model or push request to the index, used if you want `retrievable` vectors in search results.
26-
- original full-precision vectors, used if you want to rescore the query results obtained over compressed vectors.
27-
- vectors and graph information created by the HNSW library, used for query execution.
25+
| Instance | Usage |
26+
|----------|-------|
27+
| source vectors (in JSON) as received from an embedding model or push request to the index | Used if you want "retrievable" vectors returned in the query response. |
28+
| original full-precision vectors | Used if you want to rescore the query results obtained over compressed vectors. Applies only to vector fields subject to [scalar or binary quantization](vector-search-how-to-quantization.md). |
29+
| vectors and graph information created by the HNSW library | Used for query execution. |
2830

2931
The last instance (vectors and graph) is required for vector query execution. The first two instances can be discarded if you don't need them. Compression techniques like scalar or binary quantization are applied to the vectors used during query execution.
3032

3133
## Set the `stored` property
3234

33-
The `stored` property is a boolean on a vector field definition that determines whether storage is allocated for retrievable vector field content (the `source` instance). The `stored` property is true by default. If you don't need raw vector content in a query response, you can save up to 50 percent storage per field by changing `stored` to false.
35+
The `stored` property is a boolean on a vector field definition that determines whether storage is allocated for retrievable vector field content (the source instance). The `stored` property is true by default. If you don't need raw vector content in a query response, you can save up to 50 percent storage per field by changing `stored` to false.
3436

3537
Considerations for setting `stored` to false:
3638

@@ -76,7 +78,7 @@ PUT https://[service-name].search.windows.net/indexes/demo-index?api-version=202
7678

7779
[!INCLUDE [Feature preview](./includes/previews/preview-generic.md)]
7880

79-
The `rescoreStorageMethod` property on a vector field definition that determines whether storage is allocated for original full-precision vectors. The `rescoreStorageMethod` property is set to `preserveOriginals` by default. If you aren't using the [oversampling and rescoring mitigations](vector-search-how-to-quantization.md#add-compressions-to-a-search-index) provided for querying compressed vectors, you can save on vector storage per field by changing `rescoreStorageMethod` to `discardOriginals`.
81+
The `rescoreStorageMethod` property on a vector field definition determines whether storage is allocated for original full-precision vectors. The `rescoreStorageMethod` property is set to `preserveOriginals` by default. If you aren't using the [oversampling and rescoring mitigations](vector-search-how-to-quantization.md#add-compressions-to-a-search-index) provided for querying compressed vectors, you can save on vector storage by changing `rescoreStorageMethod` to `discardOriginals`.
8082

8183
If you intend to use scalar or binary quantization, we recommend retaining `rescoreStorageMethod` set to `preserveOriginals`.
8284

0 commit comments

Comments
 (0)