Skip to content

Commit 8fc4106

Browse files
authored
Update README.md
1 parent 6f38bac commit 8fc4106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ copy t_table from 'your_data_path.tsv' DELIMITER E'\t' csv quote e'\x01';
4646
* When creating a vector index, it is necessary to specify the algorithm and the distance calculation method to be used.
4747
```
4848
create index vector_index_1 on t_table using hnsw(vector_1) with(dimension=10,distmethod=l2_distance);
49-
create index vector_index_2 on t_table using sptag(vector_2) with(dimension=10,distmethod=inner_product_distance);
49+
create index vector_index_2 on t_table using sptag(vector_2 vector_inner_product_ops) with(distmethod=inner_product);
5050
```
5151
* **TopK**. When calculating distances, the '<->' operator represents the L2 distance, while '<*>' represents the inner product distance.
5252
```

0 commit comments

Comments
 (0)