Lucy::Plan::StringType(3pm)

Lucy::Plan::StringType3pm

Non-tokenized text type.

Usage

    my $type   = Lucy::Plan::StringType->new;
    my $schema = Lucy::Plan::Schema->new;
    $schema->spec_field( name => 'category', type => $type );

Overview

Lucy::Plan::StringType is used for "exact-match" strings.

Constructors

new()

    my $type = Lucy::Plan::StringType->new(
        boost    => 0.1,    # default: 1.0
        indexed  => 1,      # default: true
        stored   => 1,      # default: true
        sortable => 1,      # default: false
    );
•

boost - floating point per-field boost.

•

indexed - boolean indicating whether the field should be indexed.

•

stored - boolean indicating whether the field should be stored.

•

sortable - boolean indicating whether the field should be sortable.

Inheritance

Lucy::Plan::StringType isa Lucy::Plan::TextType isa Lucy::Plan::FieldType isa Lucy::Object::Obj.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From liblucy-perl 0.3.3-7+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.