1KinoSearch1::Document::UDsoecr(3C)ontributed Perl DocumeKnitnaotSieoanrch1::Document::Doc(3)
2
3
4

NAME

6       KinoSearch1::Document::Doc - a document
7

SYNOPSIS

9           my $doc = $invindexer->new_doc;
10           $doc->set_value( title    => $title );
11           $doc->set_value( bodytext => $bodytext );
12           $invindexer->add($doc);
13

DESCRIPTION

15       A Doc object is akin to a row in a database, in that it is made up of
16       several fields, each of which has a value.
17
18       Doc objects are only created via factory methods of other classes.
19

METHODS

21   set_value get_value
22           $doc->set_value( title => $title_text );
23           my $text = $doc->get_value( 'title' );
24
25       "set_value" and "get_value" are used to modify and access the values of
26       the fields within a Doc object.
27
28   set_boost get_boost
29           $doc->set_boost(2.5);
30
31       "boost" is a scoring multiplier.  Setting boost to something other than
32       1 causes a document to score better or worse against a given query
33       relative to other documents.
34
36       Copyright 2005-2010 Marvin Humphrey
37

LICENSE, DISCLAIMER, BUGS, etc.

39       See KinoSearch1 version 1.01.
40
41
42
43perl v5.32.1                      2021-01-27     KinoSearch1::Document::Doc(3)
Impressum