index: update a status file while indexing

This commit is contained in:
Jean-Francois Dockes
2012-02-06 17:03:39 +01:00
parent 28e53931a6
commit f59e2e033a
5 changed files with 69 additions and 16 deletions
+4
View File
@@ -883,6 +883,10 @@ string RclConfig::getPidfile()
{
return path_cat(getConfDir(), "index.pid");
}
string RclConfig::getIdxStatusFile()
{
return path_cat(getConfDir(), "idxstatus.txt");
}
list<string>& RclConfig::getSkippedNames()
{
+3 -1
View File
@@ -141,8 +141,10 @@ class RclConfig {
string getDbDir();
/** Get stoplist file name */
string getStopfile();
/** Get indexing pid file */
/** Get indexing pid file name */
string getPidfile();
/** Get indexing status file name */
string getIdxStatusFile();
/** Get list of skipped file names for current keydir */
list<string>& getSkippedNames();