Marvin Humphrey > KinoSearch > KinoSearch::Plan::BlobType

Download:
KinoSearch-0.315.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  3
View/Report Bugs
Source  

NAME ^

KinoSearch::Plan::BlobType - Default behaviors for binary fields.

DEPRECATED ^

The KinoSearch code base has been assimilated by the Apache Lucy project. The "KinoSearch" namespace has been deprecated, but development continues under our new name at our new home: http://lucy.apache.org/

SYNOPSIS ^

    my $string_type = KinoSearch::Plan::StringType->new;
    my $blob_type   = KinoSearch::Plan::BlobType->new( stored => 1 );
    my $schema      = KinoSearch::Plan::Schema->new;
    $schema->spec_field( name => 'id',   type => $string_type );
    $schema->spec_field( name => 'jpeg', type => $blob_type );

DESCRIPTION ^

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 = KinoSearch::Plan::BlobType->new(
        stored => 1,  # default: false
    );

INHERITANCE ^

KinoSearch::Plan::BlobType isa KinoSearch::Plan::FieldType isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE ^

Copyright 2005-2011 Marvin Humphrey

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: