Issue Details (XML | Word | Printable)

Key: ZF-8142
Type: Docs:  Problem Docs: Problem
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Veremyev
Reporter: Matthew Turland
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

id property of hit objects is incorrectly referenced as document property

Created: 24/Oct/09 04:58 PM   Updated: 24/Oct/09 07:41 PM   Resolved: 24/Oct/09 07:41 PM
Component/s: Zend_Search_Lucene
Affects Version/s: 1.9.4
Fix Version/s: 1.9.5

Time Tracking:
Not Specified

File Attachments: 1. File module_specs.diff (0.7 kB)


Language: English


 Description  « Hide

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.



Matthew Turland added a comment - 24/Oct/09 05:00 PM

Patch for the related Reference Guide XML file to correct the cited issue.


Matthew Turland added a comment - 24/Oct/09 07:41 PM

Fixed in trunk r18686.