KinoSearch::Doc::HitDoc - A document read from an index.
while ( my $hit_doc = $hits->next ) {
print $hit_doc->{title};
print $hit_doc->get_score;
...
}
HitDoc is the search-time relative of the index-time class Doc. HitDocs have a numeric score attribute that Docs do not; however, they do not have a valid boost attribute, since boost is not preserved through the indexing process. (If you need it, add a field.)
Set score attribute.
Get score attribute.
Throw an error (boost is invalid).
Throw an error (boost is invalid).
KinoSearch::Doc::HitDoc isa KinoSearch::Doc isa KinoSearch::Obj.
Copyright 2005-2008 Marvin Humphrey
See KinoSearch version 0.20.