adjust log message levels and fix a warning
This commit is contained in:
parent
399c633efd
commit
b079f0fb94
@ -412,7 +412,7 @@ int Query::Native::abstractFromText(
|
||||
inslen += endhit.size();
|
||||
}
|
||||
#endif
|
||||
LOGDEB("=== FRAGMENT: Coef: " << entry.coef << ": " << frag << endl);
|
||||
LOGDEB0("=== FRAGMENT: Coef: " << entry.coef << ": " << frag << endl);
|
||||
int page = 0;
|
||||
if (vpbreaks.size() > 1) {
|
||||
page = ndb->getPageNumberForPosition(vpbreaks, entry.hitpos);
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include "autoconfig.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <functional>
|
||||
|
||||
#include <xapian.h>
|
||||
|
||||
@ -51,9 +52,9 @@ public:
|
||||
// available on the caller site.
|
||||
// Take some care to avoid sharing string data (if string impl is cow)
|
||||
DbUpdTask(Op _op, const string& ud, const string& un,
|
||||
Xapian::Document *d, size_t tl, string& rztxt
|
||||
) : op(_op), udi(ud.begin(), ud.end()), uniterm(un.begin(), un.end()),
|
||||
doc(d), txtlen(tl) {
|
||||
Xapian::Document *d, size_t tl, string& rztxt)
|
||||
: op(_op), udi(ud.begin(), ud.end()), uniterm(un.begin(), un.end()),
|
||||
doc(d), txtlen(tl) {
|
||||
rawztext.swap(rztxt);
|
||||
}
|
||||
// Udi and uniterm equivalently designate the doc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user