Plucene::Index::TermInfosWriterUser)Contributed Perl DocumentPlucene::Index::TermInfosWriter(3pm)
NAME
Plucene::Index::TermInfosWriter - write to the term infos file
SYNOPSIS
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);
DESCRIPTION
This will allow for the writing and adding to a term infos file for a particular segment.
It also writes the term infos index.
METHODS
new
my $writer = Plucene::Index::TermInfosWriter->new(
$dir_name, $segment, $field_infos);
This will create a new Plucene::Index::TermInfosWriter object.
break_ref
This will break a circular reference.
add
$writer->add(Plucene::Index::Term $term,
Plucene::Index::TermInfo $term_info);
This will add the term and term info to the term infos file.
write_term
$writer->write_term(Plucene::Index::Term $term);
This will write the term to the term infos file.
perl v5.26.1 2018-04-02 Plucene::Index::TermInfosWriter(3pm)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2025-11-21 16:42 @216.73.216.57 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)