KinoSearch::FieldType::StringType - Non-tokenized text type.
my $type = KinoSearch::FieldType::StringType->new; my $schema = KinoSearch::Schema->new; $schema->spec_field( name => 'category', type => $type );
Non-tokenized text type.
KinoSearch::FieldType::StringType is used for "exact-match" strings.
my $type = KinoSearch::FieldType::StringType->new( boost => 0.1, # default: 1.0 indexed => 1, # default: true stored => 1, # default: true sortable => 1, # default: false );
boost - floating point per-field boost.
indexed - boolean indicating whether the field should be indexed.
stored - boolean indicating whether the field should be stored.
sortable - boolean indicating whether the field should be sortable.
KinoSearch::FieldType::StringType isa KinoSearch::FieldType::TextType isa KinoSearch::FieldType isa KinoSearch::Object::Obj.
Copyright 2005-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install KSx::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KSx::Simple
CPAN shell
perl -MCPAN -e shell install KSx::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.