KinoSearch1::Index::Term - string of text associated with a field
Contents
Copyright
Copyright 2005-2010 Marvin Humphrey
Description
The Term is the unit of search. It has two characteristics: a field name, and term text.
License, Disclaimer, Bugs, Etc.
See KinoSearch1 version 1.01.
perl v5.40.0 2024-10-20 KinoSearch1::Index::Term(3pm)
Methods
new
my $term = KinoSearch1::Index::Term->new( FIELD_NAME, TERM_TEXT );
Constructor.
set_textget_textset_fieldget_field
Getters and setters.
to_string
Returns a string representation of the Term object.
Name
KinoSearch1::Index::Term - string of text associated with a field
Synopsis
my $foo_term = KinoSearch1::Index::Term->new( 'content', 'foo' );
my $term_query = KinoSearch1::Search::TermQuery->new( term => $foo_term );
