Plucene::Index::Term(3pm)

Plucene::Index::Term3pm

A word from text

Usage

        my $term = Plucene::Index::Term->new({
                        field => $field_name,
                        text  => $text,
        });
        # with two Plucene::Index::Term objects you can do:
        
        if ($term1->eq($term2)) { ... }
        # etc

Overview

A Term represents a word from text, and is the unit of search. It is composed of two elements, the text of the word, as a string, and the name of the field that the text occured in, as a string.

Note that terms may represent more than words from text fields, but also things like dates, email addresses, urls, etc.

Methods

eq / ne / lt / gt / ge / le

Exactly what you would think they are.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0
  4. 7–9
  5. 10–11
  6. 12–13

From libplucene-perl 1.25-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.