|
a/src/common/rclconfig.cpp |
|
b/src/common/rclconfig.cpp |
|
... |
|
... |
669 |
} else {
|
669 |
} else {
|
670 |
LOGDEB1(("RclConfig::readFieldsConfig: no prefix for field [%s]\n",
|
670 |
LOGDEB1(("RclConfig::readFieldsConfig: no prefix for field [%s]\n",
|
671 |
fld.c_str()));
|
671 |
fld.c_str()));
|
672 |
return false;
|
672 |
return false;
|
673 |
}
|
673 |
}
|
|
|
674 |
}
|
|
|
675 |
|
|
|
676 |
set<string> RclConfig::getIndexedFields()
|
|
|
677 |
{
|
|
|
678 |
set<string> flds;
|
|
|
679 |
if (m_fields == 0)
|
|
|
680 |
return flds;
|
|
|
681 |
|
|
|
682 |
list<string> sl = m_fields->getNames("prefixes");
|
|
|
683 |
flds.insert(sl.begin(), sl.end());
|
|
|
684 |
return flds;
|
674 |
}
|
685 |
}
|
675 |
|
686 |
|
676 |
// Return specialisations of field name for search expansion
|
687 |
// Return specialisations of field name for search expansion
|
677 |
// (ie: author->[author, from])
|
688 |
// (ie: author->[author, from])
|
678 |
bool RclConfig::getFieldSpecialisations(const string& fld,
|
689 |
bool RclConfig::getFieldSpecialisations(const string& fld,
|