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