#[tokio::test] async fn test_create_field_index() { async fn create_field_index() -> Result<(), Box> { // WARNING: This is a generated test snippet. // Please, modify the snippet in the `../snippets/create_field_index.rs` file use qdrant_client::qdrant::{CreateFieldIndexCollectionBuilder, FieldType}; use qdrant_client::Qdrant; let client = Qdrant::from_url("http://localhost:6334").build()?; client .create_field_index( CreateFieldIndexCollectionBuilder::new( "{collection_name}", "{field_name}", FieldType::Keyword, ), ) .await?; Ok(()) } let _ = create_field_index().await; }