Plucene::Document::FieldPlucene::Document::Field is a field in a Plucene::Document. | |
Download |
Plucene::Document::Field Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tony Bowden
- Publisher web site:
- http://search.cpan.org/~sri/
Plucene::Document::Field Tags
Plucene::Document::Field Description
Plucene::Document::Field is a field in a Plucene::Document. Plucene::Document::Field is a field in a Plucene::Document.SYNOPSIS my $field = Plucene::Document::Field->Keyword($name, $string); my $field = Plucene::Document::Field->Text($name, $string); my $field = Plucene::Document::Field->UnIndexded($name, $string); my $field = Plucene::Document::Field->UnStored($name, $string);Each Plucene::Document is made up of Plucene::Document::Field objects. Each of these fields can be stored, indexed or tokenised.FIELDSnameReturns the name of the field.stringReturns the value of the field.is_storedReturns true if the field is or will be stored, or false if it was created with UnStored.is_indexedReturns true if the field is or will be indexed, or false if it was created with UnIndexed.is_tokenizedReturns true if the field is or will be tokenized, or false if it was created with UnIndexed or Keyword.METHODSKeyword my $field = Plucene::Document::Field->Keyword($name, $string);This will make a new Plucene::Document::Field object that is stored and indexed, but not tokenised.UnIndexed my $field = Plucene::Document::Field->UnIndexded($name, $string);This will make a new Plucene::Document::Field object that is stored, but not indexed or tokenised.Text my $field = Plucene::Document::Field->Text($name, $string);This will make a new Plucene::Document::Field object that is stored, indexed and tokenised.UnStored my $field = Plucene::Document::Field->UnStored($name, $string);This will make a new Plucene::Document::Field object that isn't stored, but is indexed and tokenised. Requirements: · Perl
Plucene::Document::Field Related Software