search for: cherttable

Displaying 1 result from an estimated 1 matches for "cherttable".

Did you mean: chert_table
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
...mand-line it would be very useful to always emit the index path currently being processed in any error thrown, thus allowing for easy identification of problems in data. I've hacked the source a bit in a few areas (by using std::string name from chert_table.h) to emit *something* useful, eg in ChertTable::read_block(): string message = "Error reading block " + str(n) + ": "; message += strerror(errno); + message += " (current_path: " + name + ")"; throw Xapian::DatabaseError(message); } else if (bytes_read == 0) { string...