search for: cherttabl

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

Did you mean: cherttable
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) { strin...