Plucene::Index::TermInfosWriter(3pm) | User Contributed Perl Documentation | Plucene::Index::TermInfosWriter(3pm) |
Plucene::Index::TermInfosWriter - write to the term infos file
my $writer = Plucene::Index::TermInfosWriter->new( $dir_name, $segment, $field_infos); $writer->add(Plucene::Index::Term $term, Plucene::Index::TermInfo $term_info); $writer->write_term(Plucene::Index::Term $term);
This will allow for the writing and adding to a term infos file for a particular segment. It also writes the term infos index.
my $writer = Plucene::Index::TermInfosWriter->new( $dir_name, $segment, $field_infos);
This will create a new Plucene::Index::TermInfosWriter object.
This will break a circular reference.
$writer->add(Plucene::Index::Term $term, Plucene::Index::TermInfo $term_info);
This will add the term and term info to the term infos file.
$writer->write_term(Plucene::Index::Term $term);
This will write the term to the term infos file.
2018-04-02 | perl v5.26.1 |