add print log
This commit is contained in:
@@ -9,6 +9,7 @@ use tempdir::TempDir;
|
|||||||
|
|
||||||
fn main() -> tantivy::Result<()> {
|
fn main() -> tantivy::Result<()> {
|
||||||
let index_path = TempDir::new("tantivy_example_dir")?;
|
let index_path = TempDir::new("tantivy_example_dir")?;
|
||||||
|
println!("Temp dir: {:?}", index_path);
|
||||||
|
|
||||||
let mut schema_builder = Schema::builder();
|
let mut schema_builder = Schema::builder();
|
||||||
schema_builder.add_text_field("title", TEXT | STORED);
|
schema_builder.add_text_field("title", TEXT | STORED);
|
||||||
|
|||||||
Reference in New Issue
Block a user