WebService::Solr::Field(3pm)

WebService::Solr::Field3pm

A field object

Usage

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

Overview

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

Accessors

•

name - the field's name

•

value - the field's value

•

boost - a floating-point boost value

Methods

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

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

BUILDARGS( @args )

A Moo override to allow our custom constructor.

to_element( )

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

to_xml( )

Serializes the object to xml.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12–13

Authors

Andy Lester "[email protected]"

Brian Cassidy <[email protected]>

Kirk Beers

From libwebservice-solr-perl 0.44-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.