Lucy::Index::LexiconReader - Read Lexicon data.
my $lex_reader = $seg_reader->obtain("Lucy::Index::LexiconReader");
my $lexicon = $lex_reader->lexicon( field => 'title' );
LexiconReader reads term dictionary information.
Return a new Lexicon for the given field
. Will return undef if either the field is not indexed, or if no documents contain a value for the field.
field - Field name.
term - Pre-locate the Lexicon to this term.
Return the number of documents where the specified term is present.
Lucy::Index::LexiconReader isa Lucy::Index::DataReader isa Lucy::Object::Obj.