Issues

ZF-8142: id property of hit objects is incorrectly referenced as document property

Issue Type: Docs: Problem Created: 2009-10-24T16:58:57.000+0000 Last Updated: 2009-10-24T19:41:27.000+0000 Status: Resolved Fix version(s): - 1.9.5 (27/Oct/09)

Reporter: Matthew Turland (elazar) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments: - module_specs.diff

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts