|
a/src/common/rclconfig.cpp |
|
b/src/common/rclconfig.cpp |
|
... |
|
... |
865 |
ft.wdfinc = atoi(tval.c_str());
|
865 |
ft.wdfinc = atoi(tval.c_str());
|
866 |
if (attrs.get("boost", tval))
|
866 |
if (attrs.get("boost", tval))
|
867 |
ft.boost = atof(tval.c_str());
|
867 |
ft.boost = atof(tval.c_str());
|
868 |
if (attrs.get("pfxonly", tval))
|
868 |
if (attrs.get("pfxonly", tval))
|
869 |
ft.pfxonly = stringToBool(tval);
|
869 |
ft.pfxonly = stringToBool(tval);
|
|
|
870 |
if (attrs.get("noterms", tval))
|
|
|
871 |
ft.noterms = stringToBool(tval);
|
870 |
m_fldtotraits[stringtolower(*it)] = ft;
|
872 |
m_fldtotraits[stringtolower(*it)] = ft;
|
871 |
LOGDEB2(("readFieldsConfig: [%s] -> [%s] %d %.1f\n",
|
873 |
LOGDEB2(("readFieldsConfig: [%s] -> [%s] %d %.1f\n",
|
872 |
it->c_str(), ft.pfx.c_str(), ft.wdfinc, ft.boost));
|
874 |
it->c_str(), ft.pfx.c_str(), ft.wdfinc, ft.boost));
|
873 |
}
|
875 |
}
|
874 |
|
876 |
|