traces
This commit is contained in:
parent
374ea610f4
commit
dcd17f4436
@ -235,7 +235,8 @@ static bool stemExpandOne(const std::string& dbdir,
|
|||||||
try {
|
try {
|
||||||
Xapian::Stem stemmer(lang);
|
Xapian::Stem stemmer(lang);
|
||||||
string stem = stemmer(term);
|
string stem = stemmer(term);
|
||||||
LOGDEB(("stemExpand: [%s] stem-> [%s]\n", term.c_str(), stem.c_str()));
|
LOGDEB(("stemExpand:%s: [%s] stem-> [%s]\n",
|
||||||
|
lang.c_str(), term.c_str(), stem.c_str()));
|
||||||
|
|
||||||
// Open stem database
|
// Open stem database
|
||||||
string stemdbdir = stemdbname(dbdir, lang);
|
string stemdbdir = stemdbname(dbdir, lang);
|
||||||
@ -276,7 +277,7 @@ static bool stemExpandOne(const std::string& dbdir,
|
|||||||
if (find(result.begin(), result.end(), stem) == result.end()) {
|
if (find(result.begin(), result.end(), stem) == result.end()) {
|
||||||
result.push_back(stem);
|
result.push_back(stem);
|
||||||
}
|
}
|
||||||
LOGDEB0(("stemExpand: %s -> %s\n", stem.c_str(),
|
LOGDEB0(("stemExpand:%s: %s -> %s\n", lang.c_str(), stem.c_str(),
|
||||||
stringlistdisp(result).c_str()));
|
stringlistdisp(result).c_str()));
|
||||||
|
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user