Lucy::Index::LexiconReader3pm
Read lexicon data.
Usage
my $lex_reader = $seg_reader->obtain("Lucy::Index::LexiconReader");my $lexicon = $lex_reader->lexicon( field => 'title' );
Overview
LexiconReader reads term dictionary information.
Abstract methods
lexicon( [labeled params] )
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.
•
|
|
|---|---|
•
|
|
doc_freq( [labeled params] )
Return the number of documents where the specified term is present.
Inheritance
Lucy::Index::LexiconReader isa Lucy::Index::DataReader isa Lucy::Object::Obj.
Releases
2 releases since Debian 8 (Jessie); the text changed 1 time.