Resource: Index
Message describing Index object
| JSON representation |
|---|
{
"name": string,
"displayName": string,
"description": string,
"labels": {
string: string,
...
},
"createTime": string,
"updateTime": string,
"distanceMetric": enum ( |
| Fields | |
|---|---|
name |
Identifier. name of resource |
displayName |
Optional. User-specified display name of the index |
description |
Optional. User-specified description of the index |
labels |
Optional. Labels as key value pairs. An object containing a list of |
createTime |
Output only. [Output only] Create time stamp Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. [Output only] Update time stamp Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
distanceMetric |
Optional. Distance metric used for indexing. If not specified, will default to DOT_PRODUCT. |
indexField |
Required. The collection schema field to index. |
filterFields[] |
Optional. The fields to push into the index to enable fast ANN inline filtering. |
storeFields[] |
Optional. The fields to push into the index to enable inline data retrieval. |
DistanceMetric
Distance metric for vector search.
| Enums | |
|---|---|
DISTANCE_METRIC_UNSPECIFIED |
Default value, distance metric is not specified. |
DOT_PRODUCT |
Dot product distance metric. |
COSINE_DISTANCE |
Cosine distance metric. |
Methods |
|
|---|---|
|
Creates a new Index in a given project and location. |
|
Deletes a single Index. |
|
Gets details of a single Index. |
|
Lists Indexes in a given project and location. |