1KinoSearch1::Index::TerUms(e3r)Contributed Perl DocumentKaitniooSnearch1::Index::Term(3)
2
3
4
6 KinoSearch1::Index::Term - string of text associated with a field
7
9 my $foo_term = KinoSearch1::Index::Term->new( 'content', 'foo' );
10 my $term_query = KinoSearch1::Search::TermQuery->new( term => $foo_term );
11
13 The Term is the unit of search. It has two characteristics: a field
14 name, and term text.
15
17 new
18 my $term = KinoSearch1::Index::Term->new( FIELD_NAME, TERM_TEXT );
19
20 Constructor.
21
22 set_text get_text set_field get_field
23 Getters and setters.
24
25 to_string
26 Returns a string representation of the Term object.
27
29 Copyright 2005-2010 Marvin Humphrey
30
32 See KinoSearch1 version 1.01.
33
34
35
36perl v5.28.0 2018-07-14 KinoSearch1::Index::Term(3)