Lucy::Document::HitDoc(3pm)

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.

  1. 8
  2. 9

From liblucy-perl 0.3.3-7+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.