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.47
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 : TermScorer.pm
package Plucene::Search::TermScorer; =head1 NAME Plucene::Search::TermScorer - score terms =head1 SYNOPSIS # isa Plucene::Search::Scorer $term_scorer->score($hc, $end); =head1 DESCRIPTION This is a Plucene::Search::Scorer subclass for scoring terms. =head1 METHODS =cut use strict; use warnings; use constant SCORE_CACHE_SIZE => 32; use Plucene::Search::Similarity; use base qw(Plucene::Search::Scorer Class::Accessor::Fast); =head2 term_docs / norms / weight / doc / docs / freqs / pointer / pointer_max / score_cache Get / set these attributes =cut __PACKAGE__->mk_accessors( qw(term_docs norms weight doc docs freqs pointer pointer_max score_cache) ); sub new { my $self = shift->SUPER::new(@_); $self->weight(1) unless $self->weight(); $self->_compute_score_cache; $self->_refill_buffers; return $self; } sub _compute_score_cache { my $self = shift; for (0 .. SCORE_CACHE_SIZE - 1) { $self->{score_cache}[$_] = Plucene::Search::Similarity->tf($_) * $self->weight; } } sub _refill_buffers { my $self = shift; $self->pointer(0); my ($docs, $freqs) = $self->{term_docs}->read; $self->docs($docs); $self->freqs($freqs); $self->pointer_max(scalar @$docs); if ($self->{pointer_max} > 0) { $self->doc($docs->[0]); } else { $self->doc(~0); } # Sentinel } =head2 score $term_scorer->score($hc, $end); =cut sub score { my ($self, $hc, $end) = @_; my $d = $self->doc; while ($d < $end) { my $f = $self->{freqs}->[ $self->{pointer} ]; $self->_score_it($f, $d, $hc); if (++$self->{pointer} == $self->{pointer_max}) { $self->_refill_buffers; return if $self->doc == ~0; } $d = $self->{docs}[ $self->{pointer} ]; } $self->doc($d); } 1;
Close