I inherited a Zend project devoid of comments and I didn't get to talk to the previous developer. Since I have no Zend experience I'm having some issues :)
I'd like to print out some variables inside an function that indexes items from the site using Zend_Search_Lucene because I think something is going wrong here.
From what I've read, ::create creates a new index and ::open updates it. So it's in this ::open function I'd like to print out some variables.
The name and params of the function are below. Does anyone have any idea how this function can be called so I can run some tests?
private function search($category,$string,$page = 1,$itemsByPage = 5)
EDIT: OR, is there a way I can nuke the existing index and force it to be rebuilt completely, for example by deleting the index files on the FS and then performing some searches?