Brian Cassidy > WebService-Solr-0.21 > WebService::Solr::Field

Download:
WebService-Solr-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
Stalled  1
View/Report Bugs
Source   Latest Release: WebService-Solr-0.23

NAME ^

WebService::Solr::Field - A field object

SYNOPSIS ^

    my $field = WebService::Solr::Field->new( foo => 'bar' );

DESCRIPTION ^

This class represents a field from a document, which is basically a name-value pair.

ACCESSORS ^

METHODS ^

new( $name => $value, \%options )

Creates a new field object. Currently, the only option available is a "boost" value.

BUILDARGS( @args )

A Moose override to allow our custom constructor.

to_element( )

Serializes the object to an XML::Easy::Element object.

to_xml( )

Serializes the object to xml.

AUTHORS ^

Brian Cassidy <bricas@cpan.org>

Kirk Beers

COPYRIGHT AND LICENSE ^

Copyright 2008-2012 National Adult Literacy Database

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: