ZF-6063: Implementation of the magic method __isset is missing in Zend_Search_Lucene_Search_QueryHit

Description

It is not possible to check if a field of a QueryHit is empty with the empty() function.

e.g.: When i have a field "content", i would access this by calling:


$hit->content;

It is not possible to check, if the field is empty with:


if (empty($hit->content))  {...}

empty($hit->content) is always {{true}}. I think this is because the {{__isset}} method is not implemented in the QueryHit object and {{isset}} is the first check that is done by {{empty}}

Comments

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.