Query: plucene::search::searcher
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plucene::Search::Searcher(3pm) User Contributed Perl Documentation Plucene::Search::Searcher(3pm)NAMEPlucene::Search::Searcher - base class for searchersDESCRIPTIONAbstract 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.METHODSdoc_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 v5.12.4 2011-08-14 Plucene::Search::Searcher(3pm)
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
Introduction |
Find columns in a file based on header and print to new file |
Weird 'find' results |