mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2025-12-23 02:29:57 +00:00
remove duplicated call to index_writer.commit() in example (#2732)
This commit is contained in:
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user