Lucy::Plan::BlobType3pm
Default behaviors for binary fields.
Usage
my $string_type = Lucy::Plan::StringType->new;my $blob_type = Lucy::Plan::BlobType->new( stored => 1 );my $schema = Lucy::Plan::Schema->new;$schema->spec_field( name => 'id', type => $string_type );$schema->spec_field( name => 'jpeg', type => $blob_type );
Overview
BlobType is an implementation of FieldType tuned for use with fields containing binary data, which cannot be indexed or searched -- only stored.
Constructors
new( [labeled params] )
my $blob_type = Lucy::Plan::BlobType->new(stored => 1, # default: false);
- •
-
stored- boolean indicating whether the field should be stored.
Inheritance
Lucy::Plan::BlobType isa Lucy::Plan::FieldType isa Lucy::Object::Obj.
Releases
2 releases since Debian 8 (Jessie); the text changed 1 time.