debian man page for plucene::document

Query: plucene::document

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Plucene::Document(3pm)					User Contributed Perl Documentation				    Plucene::Document(3pm)

NAME
Plucene::Document - The unit of indexing and searching
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;
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.
METHODS
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. add $document->add( Plucene::Document::Field $field); This will add a field to the document. fields my Plucene::Document::Field @fields = $document->fields; This returns an list of all the fields in a document. perl v5.12.4 2011-08-14 Plucene::Document(3pm)
Related Man Pages
plucene(3pm) - debian
plucene::analysis::porterstemfilter(3pm) - debian
plucene::index::reader(3pm) - debian
plucene::index::writer(3pm) - debian
plucene::search::termquery(3pm) - debian
Similar Topics in the Unix Linux Community
Introduction
Detecting unused variables...
One instance of comparing grep and awk
New UNIX and Linux History Sections