KinoSearch::Index::Term(3pm)

KinoSearch::Index::Term3pm

String of text associated with a field

Usage

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

Overview

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

Methods

new

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

Constructor.

set_text get_text set_field get_field

Getters and setters.

to_string

Returns a string representation of the Term object.

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.165.

From libkinosearch-perl 0.165-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.