ZF-8142: id property of hit objects is incorrectly referenced as document property
Description
In section 46.3.2. "Search Results" of the Reference Guide chapter on Zend_Search_Lucene is the following quote:
??Each of these has two properties: $hit->document is a document number within the index and $hit->score is a score of the hit in a search result.??
$hit->document should be $hit->id.
Comments
Posted by Matthew Turland (elazar) on 2009-10-24T17:00:01.000+0000
Patch for the related Reference Guide XML file to correct the cited issue.
Posted by Matthew Turland (elazar) on 2009-10-24T19:41:00.000+0000
Fixed in trunk r18686.