WebService::Lucene::Field - Object to represent a field in a document
$field = WebService::Lucene::Field->new( { name => 'foo', value => 'bar', type => 'text' } ); # or via the 'text' method $field = WebService::Lucene::Field->text( name => 'foo', value => 'bar' );
Creates a new field object from the options provided.
Returns the types of fields available.
Create a new text field.
Create a new keyword field.
Creates a new unindexed field.
Creates a new unstored field.
Creates a new sorted field.
A shorter way to generate a field object.
Will the field be stored in the index?
Will the field be indexed?
Will the field be tokenized in the index?
Returns a hashref of info for the current or specified type.
Given a hashref of information (stored, indexed, tokenzied) it will return the type of field.
Accessor for the field name.
Accessor for the field value.
Accessor for the field type.
Brian Cassidy <brian.cassidy@nald.ca>
Adam Paynter <adam.paynter@nald.ca>
Copyright 2006-2009 National Adult Literacy Database
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WebService::Lucene, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Lucene
CPAN shell
perl -MCPAN -e shell install WebService::Lucene
For more information on module installation, please visit the detailed CPAN module installation guide.