KinoSearch::Document::UseroContributed Perl DocKinoSearch::Document::HitDoc(3) NAME KinoSearch::Document::HitDoc - A document read from an index. SYNOPSIS while ( my $hit_doc = $hits->next ) { print "$hit_doc->{title}\n"; print $hit_doc->get_score . "\n"; ... } DESCRIPTION HitDoc is the search-time relative of the index-time class Doc; it is augmented by a numeric score attribute that Doc doesn't have. METHODS set_score(score) Set score attribute. get_score() Get score attribute. INHERITANCE KinoSearch::Document::HitDoc isa KinoSearch::Document::Doc isa KinoSearch::Object::Obj. COPYRIGHT AND LICENSE Copyright 2005-2010 Marvin Humphrey This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.1 2011-06-20 KinoSearch::Document::HitDoc(3)[top]
Vote for polarhome |