|
a/src/rcldb/searchdata.cpp |
|
b/src/rcldb/searchdata.cpp |
|
... |
|
... |
289 |
// prefixed with the pathelt prefix XP
|
289 |
// prefixed with the pathelt prefix XP
|
290 |
if (!m_topdir.empty()) {
|
290 |
if (!m_topdir.empty()) {
|
291 |
vector<string> vpath;
|
291 |
vector<string> vpath;
|
292 |
stringToTokens(m_topdir, vpath, "/");
|
292 |
stringToTokens(m_topdir, vpath, "/");
|
293 |
vector<string> pvpath;
|
293 |
vector<string> pvpath;
|
|
|
294 |
if (m_topdir[0] == '/')
|
294 |
pvpath.push_back(pathelt_prefix);
|
295 |
pvpath.push_back(pathelt_prefix);
|
295 |
for (vector<string>::const_iterator it = vpath.begin();
|
296 |
for (vector<string>::const_iterator it = vpath.begin();
|
296 |
it != vpath.end(); it++){
|
297 |
it != vpath.end(); it++){
|
297 |
pvpath.push_back(pathelt_prefix + *it);
|
298 |
pvpath.push_back(pathelt_prefix + *it);
|
298 |
}
|
299 |
}
|
299 |
Xapian::Query::op tdop;
|
300 |
Xapian::Query::op tdop;
|