|
a/src/rcldb/rclterms.cpp |
|
b/src/rcldb/rclterms.cpp |
|
... |
|
... |
326 |
Xapian::Database xdb = m_ndb->xrdb;
|
326 |
Xapian::Database xdb = m_ndb->xrdb;
|
327 |
|
327 |
|
328 |
string prefix;
|
328 |
string prefix;
|
329 |
if (!field.empty()) {
|
329 |
if (!field.empty()) {
|
330 |
const FieldTraits *ftp = 0;
|
330 |
const FieldTraits *ftp = 0;
|
331 |
if (!fieldToTraits(field, &ftp) || ftp->pfx.empty()) {
|
331 |
if (!fieldToTraits(field, &ftp, true) || ftp->pfx.empty()) {
|
332 |
LOGDEB(("Db::termMatch: field is not indexed (no prefix): [%s]\n",
|
332 |
LOGDEB(("Db::termMatch: field is not indexed (no prefix): [%s]\n",
|
333 |
field.c_str()));
|
333 |
field.c_str()));
|
334 |
} else {
|
334 |
} else {
|
335 |
prefix = wrap_prefix(ftp->pfx);
|
335 |
prefix = wrap_prefix(ftp->pfx);
|
336 |
}
|
336 |
}
|