suppressed some overly repeated log messages
This commit is contained in:
parent
f9a4b05c2c
commit
963d7c50fd
@ -315,7 +315,7 @@ bool PlainToRich::plaintorich(const string& in,
|
||||
const vector<vector<string> >& groups(hdata.groups);
|
||||
const vector<int>& slacks(hdata.gslks);
|
||||
|
||||
if (DebugLog::getdbl()->getlevel() >= DEBDEB0) {
|
||||
if (0 && DebugLog::getdbl()->getlevel() >= DEBDEB0) {
|
||||
LOGDEB0(("plaintorich: terms: \n"));
|
||||
string sterms = vecStringToString(terms);
|
||||
LOGDEB0((" %s\n", sterms.c_str()));
|
||||
@ -338,7 +338,7 @@ bool PlainToRich::plaintorich(const string& in,
|
||||
// Note: the splitter returns the term locations in byte, not
|
||||
// character, offsets.
|
||||
splitter.text_to_words(in);
|
||||
LOGDEB0(("plaintorich: split done %d mS\n", chron.millis()));
|
||||
LOGDEB2(("plaintorich: split done %d mS\n", chron.millis()));
|
||||
|
||||
// Compute the positions for NEAR and PHRASE groups.
|
||||
splitter.matchGroups();
|
||||
@ -500,6 +500,6 @@ bool PlainToRich::plaintorich(const string& in,
|
||||
fclose(fp);
|
||||
}
|
||||
#endif
|
||||
LOGDEB0(("plaintorich: done %d mS\n", chron.millis()));
|
||||
LOGDEB2(("plaintorich: done %d mS\n", chron.millis()));
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -221,7 +221,7 @@ static void listList(const string& what, const list<string>&l)
|
||||
string Db::Native::makeAbstract(Xapian::docid docid, Query *query)
|
||||
{
|
||||
Chrono chron;
|
||||
LOGDEB0(("makeAbstract:%d: maxlen %d wWidth %d\n", chron.ms(),
|
||||
LOGDEB2(("makeAbstract:%d: maxlen %d wWidth %d\n", chron.ms(),
|
||||
m_rcldb->m_synthAbsLen, m_rcldb->m_synthAbsWordCtxLen));
|
||||
|
||||
list<string> terms;
|
||||
@ -500,7 +500,7 @@ string Db::Native::makeAbstract(Xapian::docid docid, Query *query)
|
||||
if (!abstract.compare("... "))
|
||||
abstract.clear();
|
||||
|
||||
LOGDEB0(("makeAbtract: done in %d mS\n", chron.millis()));
|
||||
LOGDEB2(("makeAbtract: done in %d mS\n", chron.millis()));
|
||||
return abstract;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user