
WebService::Lucene::Document - Object to represent a Lucene Document

# Create a new document
$doc = WebService::Lucene::Document->new;
# add a field
$doc->add( $field );

Object to represent a Lucene Document.

Creates an empty document.
Sends a create request for this document.
Takes an XML::Atom::Entry and constructs a new object.
Adds each field to the document.
Auto-generated shortcuts to add a "keyword" field.
Auto-generated shortcuts to add a "sorted" field.
Auto-generated shortcuts to add a "keyword" field.
Auto-generated shortcuts to add a "keyword" field.
Auto-generated shortcuts to add a "keyword" field.
The title of the document, set from search or listing results.
A floating point number (0..1) set from search results.
A name-keyed hashref of field objects.
Technically an alias for fields. But should only be used when fetching facet results.
Alias for fields.
Returns all fields named <$name> or all fields if no name is specified.
Removes all fields from this document
Remove a particular field from the document
Generates an XML::Atom::Entry object for the current document.
Updates the document in the index.
Delete the document from the index.
Generates a closure for accessing a field.


Copyright 2006-2009 National Adult Literacy Database
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.