{
    "mode": "perldoc",
    "parameter": "Plucene::Search::Searcher",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Plucene%3A%3ASearch%3A%3ASearcher/json",
    "generated": "2026-06-13T07:28:42Z",
    "sections": {
        "NAME": {
            "content": "Plucene::Search::Searcher - base class for searchers\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Abstract base class for searchers.\n\nSearching is the operation of locating a subset of the documents that contains desired content\nor that their attributes match some specification.\n\nThe input for a search operation is a 'query' that specifies a criteria for selecting the\ndocuments and its output is a list of documents ('hits') that matched that criteria.\n\nThe hit list is typically ordered by some measure of relevancy (called 'ranking' or 'scoring')\nand may contain only a subset of the set of documents that matched the query (typically the ones\nwith the highest scored documents).\n\nThe search operation is performed on an 'index' which is a specialized database that contains a\npre compiled information of the document set. The index database is optimized for locating\nquickly documents that contains certain words or terms.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "docfreq / maxdoc / doc / searchhc searchtop\nThese must be defined in a subclas\n\nsearch\nmy Plucene::Search::Hits $hits = $searcher->new($query, $filter);\n\nThis will return the Plucene::Search::Hits object for the passed in query and filter. At this\nstage, filter is optional.\n\nsearchhc",
            "subsections": []
        }
    },
    "summary": "Plucene::Search::Searcher - base class for searchers",
    "flags": [],
    "examples": [],
    "see_also": []
}