Skip to content

Commit 5f2eb71

Browse files
authored
[Vectorize] Allow reuse of index names (#18886)
1 parent ec828f0 commit 5f2eb71

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

src/content/changelogs/vectorize.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ productLink: "/vectorize/"
55
productArea: Developer platform
66
productAreaLink: /workers/platform/changelog/platform/
77
entries:
8+
- publish_date: "2024-12-20"
9+
title: Added support for index name reuse
10+
description: |-
11+
Vectorize now supports the reuse of index names within the account. An index can be created using the same name as an index that is in a deleted state.
12+
813
- publish_date: "2024-12-19"
914
title: Added support for range queries in metadata filters
1015
description: |-
11-
Vectorize now supports `$lt`, `$lte`, `$gt`, and `$gte` clauses in [metadata filters](/vectorize/reference/metadata-filtering/).
16+
Vectorize now supports `$lt`, `$lte`, `$gt`, and `$gte` clauses in [metadata filters](/vectorize/reference/metadata-filtering/).
1217
1318
- publish_date: "2024-11-13"
1419
title: Added support for $in and $nin metadata filters

src/content/docs/vectorize/best-practices/create-indexes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Creating an index requires three inputs:
1515
- The (fixed) [dimension size](#dimensions) of each vector, for example 384 or 1536.
1616
- The (fixed) [distance metric](#distance-metrics) to use for calculating vector similarity.
1717

18-
An index cannot be created using the same name as an index previously deleted on your account. We are in the process of addressing this limitation.
18+
An index cannot be created using the same name as an index that is currently active on your account. However, an index can be created with a name that belonged to an index that has been deleted.
1919

2020
The configuration of an index cannot be changed after creation.
2121

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ npx wrangler vectorize create <INDEX_NAME> [--dimensions=<NUM_DIMENSIONS>] [--me
209209
```
210210

211211
- `INDEX_NAME` <Type text="string" /> <MetaInfo text="required" />
212-
- The name of the new index to create. Must be unique for an account and cannot be changed after creation or reused after the deletion of an index.
212+
- The name of the new index to create. Must be unique for an account and cannot be changed after creation.
213213
- `--dimensions` <Type text="number" /> <MetaInfo text="required" />
214214
- The vector dimension width to configure the index for. Cannot be changed after creation.
215215
- `--metric` <Type text="string" /> <MetaInfo text="required" />

0 commit comments

Comments
 (0)