Lucy::Plan::StringType
Non-tokenized text type.
- Provided by: liblucy-perl (Version: 0.3.3-6build1)
- Report a bug
Non-tokenized text type.
my $type = Lucy::Plan::StringType->new;
my $schema = Lucy::Plan::Schema->new;
$schema->spec_field( name => 'category', type => $type );
Lucy::Plan::StringType is used for "exact-match" strings.
my $type = Lucy::Plan::StringType->new(
boost => 0.1, # default: 1.0
indexed => 1, # default: true
stored => 1, # default: true
sortable => 1, # default: false
);
Lucy::Plan::StringType isa Lucy::Plan::TextType isa Lucy::Plan::FieldType isa Lucy::Object::Obj.