DOKK / manpages / debian 12 / libkinosearch1-perl / KinoSearch1::Index::Term.3pm.en
KinoSearch1::Index::Term(3pm) User Contributed Perl Documentation KinoSearch1::Index::Term(3pm)

KinoSearch1::Index::Term - string of text associated with a field

    my $foo_term   = KinoSearch1::Index::Term->new( 'content', 'foo' );
    my $term_query = KinoSearch1::Search::TermQuery->new( term => $foo_term );

The Term is the unit of search. It has two characteristics: a field name, and term text.

    my $term = KinoSearch1::Index::Term->new( FIELD_NAME, TERM_TEXT );

Constructor.

Getters and setters.

Returns a string representation of the Term object.

Copyright 2005-2010 Marvin Humphrey

See KinoSearch1 version 1.01.

2022-10-20 perl v5.36.0