Plucene::Search::IndexSearcher(User Contributed Perl DocumentaPlucene::Search::IndexSearcher(3pm) NAME Plucene::Search::IndexSearcher - The index searcher SYNOPSIS # isa Plucene::Search::Searcher my $searcher = Plucene::Search::IndexSearcher ->new(Plucene::Index::Reader $reader); my Plucene::Index::Reader $reader = $searcher->reader; my Plucene::Document $doc = $reader->doc($id); $searcher->close; DESCRIPTION Search over an IndexReader METHODS new my $searcher = Plucene::Search::IndexSearcher ->new(Plucene::Index::Reader $reader); This will create a new Searcher object with the passed Plucene::Index::Reader or subclass thereof. reader my Plucene::Index::Reader $reader = $searcher->reader; This will return the reader this searcher was made with. search_top The top search results. doc my Plucene::Document $doc = $reader->doc($id); This will return the Plucene::Document $id. doc_freq / max_doc get / set these close This will close the reader(s) associated with the searcher. perl v5.26.1 2018-04-02 Plucene::Search::IndexSearcher(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
2024-12-30 06:33 @18.189.170.65 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)