1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # Shilp Rust SDK
//!
//! This is the official Rust SDK for the Shilp Vector Database API.
//!
//! ## Features
//!
//! - Collection Management (List, Add, Drop, Rename, Load, Unload, Flush, ReIndex)
//! - Data Ingestion & Search (with keyword fields support)
//! - Record Management (Insert, Delete, Expiry Cleanup)
//! - Debug Collection Operations (Distance, Node Info, Levels, Neighbors)
//! - Oplog Operations (Replica Registration, Heartbeat, Get Entries, Status)
//! - Storage Listing
//! - Health Check
//! - Discovery Service Integration
//!
//! ## Example
//!
//! ```no_run
//! use shilp_sdk::{Client, models::AddCollectionRequest};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Initialize the client
//! let client = Client::new("http://localhost:3000");
//!
//! // Check health
//! let health = client.health_check().await?;
//! println!("Health: {}", health.success);
//!
//! // List collections
//! let collections = client.list_collections().await?;
//! println!("Collections: {:?}", collections.data);
//!
//! Ok(())
//! }
//! ```
// Re-export commonly used types
pub use Client;
pub use DiscoveryClient;
pub use ;