Skip to content

Reference

Complete reference documentation for Uni.

### [Rust API](rust-api.md) Programmatic access to Uni from Rust applications.
### [REST API](rest-api.md) HTTP API reference for remote query execution and monitoring.
### [Configuration](configuration.md) All configuration options for storage, runtime, and queries.
### [Troubleshooting](troubleshooting.md) Common issues, error messages, and solutions.
### [Glossary](glossary.md) Terminology and abbreviations used in Uni documentation.

Quick Reference

Common Configuration

let config = StorageConfig {
    path: "./storage".into(),
    adjacency_cache_size: 1_000_000,
    property_cache_size: 100_000,
    max_l0_size: 64 * 1024 * 1024,  // 64 MB
    ..Default::default()
};

Supported Data Types

Type Description Example
String UTF-8 text "hello"
Int32 32-bit integer 42
Int64 64-bit integer 9223372036854775807
Float32 32-bit float 3.14
Float64 64-bit float 3.141592653589793
Boolean True/false true
Vector[N] N-dimensional float vector [0.1, 0.2, 0.3]
Json Nested JSON document {"key": "value"}

Environment Variables

Variable Description
RUST_LOG Log level (uni=debug, uni::storage=trace)
UNI_STORAGE_PATH Default storage path
UNI_CACHE_DIR Local cache directory

Next Steps