KinoSearch1::Index::Term(3pm)

KinoSearch1::Index::Term3pm

String of text associated with a field

Usage

    my $foo_term   = KinoSearch1::Index::Term->new( 'content', 'foo' );
    my $term_query = KinoSearch1::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 = KinoSearch1::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 KinoSearch1 version 1.01.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From libkinosearch1-perl 1.01-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.