Allow fields local to a subtree to be set in the configuration

This commit is contained in:
dockes
2009-10-30 08:59:30 +00:00
parent ccae4eee18
commit e7dfd57d6e
9 changed files with 142 additions and 39 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ bool Db::Native::dbDataToRclDoc(Xapian::docid docid, std::string &data,
Doc &doc, int percent)
{
LOGDEB0(("Db::dbDataToRclDoc: data: %s\n", data.c_str()));
ConfSimple parms(&data);
ConfSimple parms(data);
if (!parms.ok())
return false;
parms.get(Doc::keyurl, doc.url);
+1 -1
View File
@@ -42,7 +42,7 @@ public:
{
// Parse xapian document's data and populate doc fields
string data = xdoc.get_data();
ConfSimple parms(&data);
ConfSimple parms(data);
// The only filtering for now is on file path (subtree)
string url;