-
-
04 Aug 2013 16:12:58 UTC
- Distribution: Lucy
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (1555 / 29 / 0)
- Kwalitee
Bus factor: 1- License: apache_2_0
- Perl: v5.8.3
- Activity
24 month- Tools
- Download (1.26MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- The Apache Lucy Project <dev at lucy dot apache dot org>
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Lucy::Plan::StringType - Non-tokenized text type.
SYNOPSIS
my $type = Lucy::Plan::StringType->new; my $schema = Lucy::Plan::Schema->new; $schema->spec_field( name => 'category', type => $type );
DESCRIPTION
Lucy::Plan::StringType is used for "exact-match" strings.
CONSTRUCTORS
new()
my $type = Lucy::Plan::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.
INHERITANCE
Lucy::Plan::StringType isa Lucy::Plan::TextType isa Lucy::Plan::FieldType isa Lucy::Object::Obj.
Module Install Instructions
To install Lucy::Simple, copy and paste the appropriate command in to your terminal.
cpanm Lucy::Simple
perl -MCPAN -e shell install Lucy::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.