You can also specify optional parameters like
metric (distance metric: "euclidean", "squared_euclidean", or "cosine") and index_config when creating an index. See the API Reference and Configure an Encrypted Index for more details.Index Caching
The service-based SDKs handle caching automatically on the server side. Unlike the embedded SDKs, you don’t need to specify cache sizes when creating indexes. The CyborgDB service optimizes query performance through:- Automatic index caching based on usage patterns
- Server-side query optimization
- Efficient index loading and memory management