Hi Ralph, Ralph Schindler schrieb am 13.08.2009 18:22: > Ralf, hard to diagnose from the backtrace, it looks like you were > overriding Zend_Search_Lucene with Interpersonal_Search_Lucene, whats > going on in the constructor there?
Well, Interpersonal_Search_Lucene overwrites the find() method. I added a quick hack to the find() method to use a Interpersonal_Search_QueryHit class which extends Zend_Search_Lucene_Search_QueryHit and adds a method to clear a document. Within my Interpersonal_Search_Lucene::find() the Interpersonal_Search_QueryHit is used and the Interpersonal_Search_QueryHit::clearDocument() is called just after the line with $value = $hit->getDocument()->getFieldValue($fieldName). I know that my hack is not the best thing to do but I wasn't able to change the behavior without copying code. And by the way I also overwrote Zend_Search_Lucene::create() and Zend_Search_Lucene::open() to use Interpersonal_Search_Lucene. This hack was needed to solve this issue here: http://www.mail-archive.com/[email protected]/msg23583.html Since Zend_Search_Lucene::find() was changed in 1.9.x I just amended my version of Interpersonal_Search_Lucene::find() but it did not solve this new issue. :-( Thanks and best regards, Ralf
