add print log

This commit is contained in:
2020-05-30 23:40:01 +08:00
parent d944bb681d
commit 42d9b3d76a

View File

@@ -9,6 +9,7 @@ use tempdir::TempDir;
fn main() -> tantivy::Result<()> {
let index_path = TempDir::new("tantivy_example_dir")?;
println!("Temp dir: {:?}", index_path);
let mut schema_builder = Schema::builder();
schema_builder.add_text_field("title", TEXT | STORED);