Jobs Script

Permalink
I recently had a situation with the Index Search Engine Job script. My site was at 600 pages and it started to create a memory error at 128M MEMORY ALLOWED.

Why does it take so much memory for indexing only 600 pages?

My question is, how can I modifiy the search index job script so I can specify to index ALL the Subpages of a Particular PAGE ID?

ex.: Not indexing all the site but only the subpages under a specific page ID.

I have 13 categories page that contain many subpages each. so instead of doing a big ReIndexAll I want to split the job in 13. Luckly it will cut the memory use.

<?php 
/**
*
* Responsible for loading the indexed search class and initiating the reindex command.
* @package Utilities
*/
defined('C5_EXECUTE') or die(_("Access Denied."));
class IndexSearch2 extends Job {
   public $jNotUninstallable=1;
   public function getJobName() {
      return t("Index Search Engine2");
   }
   public function getJobDescription() {
      return t("Index the site to allow searching to work quickly and accurately.");
   }


I appreciate your help :)

olacom
 
hursey013 replied on at Permalink Reply
hursey013
Did you ever find any insight into this - I am having a similar problem with my index search job - it will not complete - the site has 400+ pages so it may be a memory problem similar to yours?