remove duplicated call to index_writer.commit() in example (#2732)

This commit is contained in:
Arthur
2025-11-12 14:52:44 +01:00
committed by GitHub
parent 8b02bff9b8
commit 5277367cb0

View File

@@ -85,7 +85,6 @@ fn main() -> tantivy::Result<()> {
index_writer.add_document(doc!( index_writer.add_document(doc!(
title => "The Diary of a Young Girl", title => "The Diary of a Young Girl",
))?; ))?;
index_writer.commit()?;
// ### Committing // ### Committing
// //