1Lucy::Plan::StringType(U3s)er Contributed Perl DocumentatLiuocny::Plan::StringType(3)
2
3
4

NAME

6       Lucy::Plan::StringType - Non-tokenized text type.
7

SYNOPSIS

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

DESCRIPTION

14       Lucy::Plan::StringType is used for Xexact-matchX strings.
15

CONSTRUCTORS

17   new
18           my $type = Lucy::Plan::StringType->new(
19               boost    => 0.1,    # default: 1.0
20               indexed  => 1,      # default: true
21               stored   => 1,      # default: true
22               sortable => 1,      # default: false
23           );
24
25boost - floating point per-field boost.
26
27indexed - boolean indicating whether the field should be indexed.
28
29stored - boolean indicating whether the field should be stored.
30
31sortable - boolean indicating whether the field should be sortable.
32

INHERITANCE

34       Lucy::Plan::StringType isa Lucy::Plan::TextType isa
35       Lucy::Plan::FieldType isa Clownfish::Obj.
36
37
38
39perl v5.36.0                      2022-07-22         Lucy::Plan::StringType(3)
Impressum