Thanks Andrew

Although i'm not using static methods for what i'm doing, the static
property is keeping the index in scope
i got it working, but i think i need to study more code

thanks
dave


Andrew Craft wrote:
> 
> Dave,
> 
> The main problem was the variable I used for the index was going out of
> scope. I had created a static class for searching, updating, deleting etc.
> I had forgotten to craate a private static property for the index. I was
> just calling a static method to get the index and when the method was
> complete the index went out of scope and __destruct was called in
> Lucene.php
> 
> if you want a code example let me know.
> 
> HTH,
> 
> Andrew
> 
> 



-- 
View this message in context: 
http://www.nabble.com/Zend-Search-Error-tf3841306s16154.html#a10966774
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to