mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-08 18:12:55 +00:00
fixup
This commit is contained in:
@@ -73,10 +73,8 @@ fn run_example(index_path: &Path) -> tantivy::Result<()> {
|
||||
// This single `IndexWriter` is already
|
||||
// multithreaded.
|
||||
//
|
||||
// Here we use a buffer of 50MB. Using a bigger
|
||||
// Here we use a buffer of 50MB per thread. Using a bigger
|
||||
// heap for the indexer can increase its throughput.
|
||||
// This buffer will be split between the indexing
|
||||
// threads.
|
||||
let mut index_writer = try!(index.writer(50_000_000));
|
||||
|
||||
// Let's index our documents!
|
||||
|
||||
Reference in New Issue
Block a user