Namespaces
A namespace is a collection of documents that share a common schema. Namespaces isolate documents from each other; searches only run against a single namespace at a time.Creating namespaces
Namespaces are created automatically the first time you upload documents to them. There is no separate creation step.Naming rules
Namespace names must:- Be 1 to 128 characters long
- Contain only alphanumeric characters, hyphens (
-), underscores (_), and dots (.)
Listing namespaces
Response
Documents
Documents are JSON objects stored in a namespace. Each document has a requiredid and arbitrary attributes that you define.
Document structure
Every document must have anid field. All other fields are user-defined attributes.
id must be a UUID or a string up to 64 characters. If you upload a document with an existing id, it replaces the previous version.