""
(empty string).
Indexes created before the namespaces feature can still be used as they are,
without modification. All operations are assumed to use the default namespace.
Using a Namespace
Namespaces are created implicitly when an upsert operation is performed, so there is no specific endpoint for creating a namespace. For example, the code snippet below will create the namespacens
if it does not already exist, upsert and query the vector only on that namespace.
- Python
- JavaScript
- Go
- PHP
- curl
<vector-url>/<command>/namespace-name
to only be executed only against that namespace.
Deleting a Namespace
Namespaces can be deleted by using the Delete Namespace API.- Python
- JavaScript
- Go
- PHP
- curl
Listing Namespaces
All active namespaces can be listed by using the List Namespaces API.- Python
- JavaScript
- Go
- PHP
- curl