| Wednesday 27 June 2007 3:36:39 am 
                                                                 Forgive the self follow-up, I just wanted to present a resolution in case anybody else ever has the same issue come up. I was able to handle everything within cronjobs/indexcontent.php To stop an object from being added to the search index, I wrapped the two lines: 
eZSearch::removeObject( $object );
eZSearch::addObject( $object );
 in a conditional statement, and didn't execute them if certain criteria were met. Basically I grabbed the datamap of the object, and checked the value of an attribute. To remove already indexed objects, I cheated a little bit. I commented out the line: 
eZSearch::addObject( $object );
 and made sure that the only entries in ezpending_actions were for the object IDs of what needed to be removed. Andy |