The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

DESCRIPTION

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

An index cannot be searched for plain term text that is not associated with a field; if all fields must be searched, they must be searched one by one.

METHODS

new

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

Constructor.

set_text get_text set_field get_field

Getters and setters.

COPYRIGHT

Copyright 2005-2006 Marvin Humphrey

LICENSE, DISCLAIMER, BUGS, etc.

See KinoSearch version 0.05_03.