Defining Google BigQuery Table Indexes
The following properties are applicable to a Google BigQuery Index object.
Tab | Property | Description | Additional Information |
---|---|---|---|
|
Physical Name | Specifies the name of the search index | |
Type |
Specifies whether the index type is PK, Search, or Vector index |
PK stands for primary key index. You can create multiple search or vector indexes for each table in a Google BigQuery database. However, you can generate only one search index and one vector index at a time. |
|
If Not Exists | Specifies that if the index already exists, no exception is thrown, and no action happens | ||
Physical Only | Specifies whether the index appears in physical models only | ||
Generate | Specifies whether a DDL statement is generated for the dataset during forward engineering | ||
General | Index Members | Specifies the list of eligible columns to create primary key or search index | Available for search index only if All Columns is not selected |
Type |
Specifies the primary key index type |
Available only when the index type is set to PK |
|
All Columns | Specifies whether the index is created on all columns of the table |
Available when the Type is set to Search Search Indexes are created only on columns of the types STRING and JSON, or contain a STRING or JSON field in them. |
|
Analyzer |
Specifies controls of the text analyzer and how data is tokenized for searching and indexing |
Available when the Type is set to Search |
|
Data Types |
Specifies the data types to use when a search index is created |
Available when the Type is set to Search |
|
Distance Type | Specifies to use a default distance type when performing a vector search |
Available when the Type is set to Vector Valid values are EUCLIDEAN, COSINE, and DOT_PRODUCT |
|
Index Type |
Specifies the algorithm that is used to build the vector index |
Available when the Type is set to Vector |
|
Ivf Option |
Specifies the algorithm to build the index as an inverted file index |
Available when the Type is set to Vector |
|
Tree Ah Option |
Specifies the algorithm to build the index as a tree-quantization based index |
Available when the Type is set to Vector |
|
Use Replace Syntax |
Specifies whether to use a replace syntax |
Available when the Type is set to Vector |
|
Vector Index |
Stored Columns |
Specifies the vector indexes for the stored columns |
This tab is applicable only when the index Type is set to Vector |
Comments | Specifies comments about the search index |
Copyright © 2025 Quest Software, Inc. |