Skip to content

Commit

Permalink
[Vectorize] Allow reuse of index names (#18886)
Browse files Browse the repository at this point in the history
  • Loading branch information
garvit-gupta authored Dec 20, 2024
1 parent ec828f0 commit 5f2eb71
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/content/changelogs/vectorize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ productLink: "/vectorize/"
productArea: Developer platform
productAreaLink: /workers/platform/changelog/platform/
entries:
- publish_date: "2024-12-20"
title: Added support for index name reuse
description: |-
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.
- publish_date: "2024-12-19"
title: Added support for range queries in metadata filters
description: |-
Vectorize now supports `$lt`, `$lte`, `$gt`, and `$gte` clauses in [metadata filters](/vectorize/reference/metadata-filtering/).
Vectorize now supports `$lt`, `$lte`, `$gt`, and `$gte` clauses in [metadata filters](/vectorize/reference/metadata-filtering/).
- publish_date: "2024-11-13"
title: Added support for $in and $nin metadata filters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Creating an index requires three inputs:
- The (fixed) [dimension size](#dimensions) of each vector, for example 384 or 1536.
- The (fixed) [distance metric](#distance-metrics) to use for calculating vector similarity.

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.
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.

The configuration of an index cannot be changed after creation.

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/workers/wrangler/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ npx wrangler vectorize create <INDEX_NAME> [--dimensions=<NUM_DIMENSIONS>] [--me
```

- `INDEX_NAME` <Type text="string" /> <MetaInfo text="required" />
- 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.
- The name of the new index to create. Must be unique for an account and cannot be changed after creation.
- `--dimensions` <Type text="number" /> <MetaInfo text="required" />
- The vector dimension width to configure the index for. Cannot be changed after creation.
- `--metric` <Type text="string" /> <MetaInfo text="required" />
Expand Down

0 comments on commit 5f2eb71

Please sign in to comment.