Lucy::Plan::BlobType - Default behaviors for binary fields.
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 );
BlobType is an implementation of FieldType tuned for use with fields containing binary data, which cannot be indexed or searched – only stored.
my $blob_type = Lucy::Plan::BlobType->new( stored => 1, # default: false );
Create a new BlobType.
Lucy::Plan::BlobType isa Lucy::Plan::FieldType isa Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.