Rechercher une page de manuel
Plucene::Index::FieldsWriter.3pm
Langue: en
Version: 2005-09-05 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Plucene::Index::FieldsWriter - writes Fields to a DocumentSYNOPSIS
my $writer = Plucene::Index::FieldsWriter->new( $dir_name, $segment, $field_infos); $writer->add_document(Plucene::Document $doc);
DESCRIPTION
This class add documents to the appropriate files.METHODS
new
my $writer = Plucene::Index::FieldsWriter->new( $dir_name, $segment, $field_infos);
This will create a new Plucene::Index::FieldsWriter object with the passed directory name, segment and field infos.
close
$writer->close;
add_document
$writer->add_document(Plucene::Document $doc);
This will add the passed Plucene::Document.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre