Displaying 1 result from an estimated 1 matches for "final_db".
Did you mean:
final_dt
2018 Nov 30
1
Xapian Benchmark results
...tid = 0; tid < NUM_THREADS; tid++) {
threads.push_back(thread(parallel_index, tid, NUM_THREADS,
documents[tid],&dbs[tid]));
}
for (auto& th : threads) {
th.join();
}
infs.close();
Xapian::Database final_db;
for(const Xapian::WritableDatabase &d : dbs)
{
final_db.add_database(d);
}
Xapian::Enquire enquire(final_db);
Xapian::QueryParser parser;
end = high_resolution_clock::now();
auto diff1 = duration_cast<milliseconds>(end - start).count();
cout <<...