search for: 1026544ms

Displaying 1 result from an estimated 1 matches for "1026544ms".

Did you mean: 1026544
2012 Nov 21
1
about index speed of xapian
hi, i use xapian to index a txt file, it's size is 268M. i take each line as a document, and each line has two field like 13445511 | 111115151. the recored size is 10000000. the XAPIAN_FLUSH_THRESHOLD set 1000000. it takes 1026544ms to index the file, it is more slower than lucene. The lucene speed is about 40000 records per second. code: try { Xapian::WritableDatabase database("testindex", Xapian::DB_CREATE_OR_OPEN); mybase::Timeval now; std::string line; while (getline(fin,...