Add recollindex option to write file not indexed reasons to diagnostics file

This commit is contained in:
Jean-Francois Dockes
2021-04-01 10:32:04 +02:00
parent 485a0fc650
commit 4756b1252b
18 changed files with 288 additions and 81 deletions
+1 -1
View File
@@ -2401,7 +2401,7 @@ bool Db::dbStats(DbStats& res, bool listfailed)
try {
Xapian::Document doc = xdb.get_document(docid);
string sig = doc.get_value(VALUE_SIG);
if (sig.empty() || sig[sig.size()-1] != '+') {
if (sig.empty() || sig.back() != '+') {
continue;
}
string data = doc.get_data();