Lucy::Document::HitDoc3pm
A document read from an index.
Usage
while ( my $hit_doc = $hits->next ) {print "$hit_doc->{title}\n";print $hit_doc->get_score . "\n";...}
Overview
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
Lucy::Document::HitDoc isa Lucy::Document::Doc isa Lucy::Object::Obj.
Releases
2 releases since Debian 8 (Jessie); the text changed 1 time.