Hi. To start over and index from scratch, do the following:
- empty all the PhpDig database tables
- delete all files that may be in the temp dir
- delete all files in the text_content dir except keepalive.txt
- run spider.php from a browser or command prompt
Before running spider.php from the command prompt, in the config file, change the following to one like so, if only one level is wanted:
PHP Code:
define('SPIDER_MAX_LIMIT',1);
define('SPIDER_DEFAULT_LIMIT',1);
define('RESPIDER_LIMIT',1);
Also, in the config file, change the following to one like so, if more frequent reindexing is wanted:
PHP Code:
define('LIMIT_DAYS',1);
Emptying the database tables is part of the process to restart from scratch. The files in the text_content directory also need to be deleted, except for the keepalive.txt file.