You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EasyAlgolia is a Rust crate designed for utilizing the Algolia admin client. It simplifies the process of updating and inserting documents into Algolia's search index.
this can also be used as database to store simple Json databased in algolia
features
custom Object and trait
supoort async and sync operations
Usage
using raw json
#[tokio::main]asyncfnmain() -> Result<(),EasyAlgoliaError>{dotenv().ok();let client = ClientBuilder::build_from_env()?;// for raw values, Object ids are provided from algolia or can be explicitly put into json documentlet data = serde_json::json!({"name":" Hello world ! ","about":" i love rust ","objectID":"123456"});let my_index:Index = "Test".into();
client.put_document_async(&my_index, data).await?;Ok(())}
EasyAlgolia is a Rust crate designed for utilizing the Algolia admin client. It simplifies the process of updating and inserting documents into Algolia's search index.