1KinoSearch1::Search::HiUts(e3r)Contributed Perl DocumentKaitniooSnearch1::Search::Hit(3)
2
3
4
6 KinoSearch1::Search::Hit - successful match against a Query
7
9 A Hit object is a storage vessel which holds a Doc, a floating point
10 score, and an integer document id.
11
13 get_doc
14 my $doc = $hit->get_doc;
15
16 Return the Hit's KinoSearch1::Document::Doc object.
17
18 get_score
19 my $score = $hit->get_score;
20
21 Return the Hit's score.
22
23 get_id
24 my $doc_number = $hit->get_id;
25
26 Return the Hit's document number. Note that this document number is
27 not permanent, and will likely become invalid the next time the index
28 is updated.
29
30 get_field_values
31 my $hashref = $hit->get_field_values;
32
33 Return the values of the Hit's constituent fields as a hashref.
34
36 Copyright 2005-2010 Marvin Humphrey
37
39 See KinoSearch1 version 1.01.
40
41
42
43perl v5.32.0 2020-07-28 KinoSearch1::Search::Hit(3)