Allow fields local to a subtree to be set in the configuration
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user