DOKK / manpages / debian 11 / libwebservice-solr-perl / WebService::Solr::Field.3pm.en
WebService::Solr::Field(3pm) User Contributed Perl Documentation WebService::Solr::Field(3pm)

WebService::Solr::Field - A field object

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

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

  • name - the field's name
  • value - the field's value
  • boost - a floating-point boost value

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

BUILDARGS( @args )

A Moo override to allow our custom constructor.

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

Serializes the object to xml.

Andy Lester "andy@petdance.com"

Brian Cassidy <bricas@cpan.org>

Kirk Beers

Copyright 2008-2014 National Adult Literacy Database Copyright 2015-2020 Andy Lester

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

2020-01-19 perl v5.30.0