Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Plucene::Search::Searcher

Name Plucene::Search::Searcher
Version
Located at /usr/share/perl5
File /usr/share/perl5/Plucene/Search/Searcher.pm
Is Core No
Search CPAN for this module Plucene::Search::Searcher
Documentation Plucene::Search::Searcher
Module Details Plucene::Search::Searcher

NAME

Plucene::Search::Searcher - base class for searchers


DESCRIPTION

Abstract base class for searchers.

Searching is the operation of locating a subset of the documents that contains desired content or that their attributes match some specification.

The input for a search operation is a 'query' that specifies a criteria for selecting the documents and its output is a list of documents ('hits') that matched that criteria.

The hit list is typically ordered by some measure of relevancy (called 'ranking' or 'scoring') and may contain only a subset of the set of documents that matched the query (typically the ones with the highest scored documents).

The search operation is performed on an 'index' which is a specialized database that contains a pre compiled information of the document set. The index database is optimized for locating quickly documents that contains certain words or terms.


METHODS

doc_freq / max_doc / doc / _search_hc search_top

These must be defined in a subclas

search

        my Plucene::Search::Hits $hits = $searcher->new($query, $filter);

This will return the Plucene::Search::Hits object for the passed in query and filter. At this stage, filter is optional.

search_hc

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026