Displaying 1 result from an estimated 1 matches for "parallel_index".
2018 Nov 30
1
Xapian Benchmark results
...esults correctly but I am just not able to get over the fact that
xapian is performing so much faster than my other implementations. There
have been no optimizations in my code. Awaiting your response.
Regards,
Krishna Bharadwaj
-------------- next part --------------
#define NUM_THREADS 4
void parallel_index(int tid, int num_threads,vector<string> documents,Xapian::WritableDatabase *db )
{
int i =0;
char line[2048];
string line_string;
Xapian::TermGenerator indexer;
Xapian::Stem stemmer("english");
indexer.set_stemmer(stemmer);
// doc.set_data("content&...