WebSer...::Field(3pm)
β¨ NAME β¨
WebService::Solr::Field β it's a field object, bestie π
(this is from the User Contributed Perl Documentation, and yeah, that's the manual name right there, we're just folding it in all casual-like πΈ)
π¦ SYNOPSIS π¦
my $field = WebService::Solr::Field->new( foo => 'bar' );
like. that's it. that's the whole vibe check π
π DESCRIPTION π
Okay so picture this: this class represents a field from a document π which is basically a name-value pair. Name + value. That's the whole situation. Two things. Iconic honestly π
π ACCESSORS π
the lil getters/setters, the besties that hold the info:
nameβ the field's name π·οΈvalueβ the field's value π«boostβ a floating-point boost value π (yes it floats, it's giving β¨flairβ¨)
π METHODS π
πΈ new( $name => $value, \%options )
Creates a new field object, as one does πΌβ¨ Currently, the only option available is a "boost" value. That's the whole menu, no cap.
π§ BUILDARGS( @args )
A Moo override π that lets our custom constructor do its lil custom thing. iykyk.
β to_element( )
Serializes the object to an XML::Easy::Element object π¦β¨ turning our vibes into structured XML realness.
π₯ to_xml( )
Serializes the object to xml π periodt.
π AUTHORS π
the masterminds, the main characters, the ones who ate π :
- Andy Lester
andy@petdance.com - Brian Cassidy <bricas@cpan.org>
- Kirk Beers
π COPYRIGHT AND LICENSE π
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. iconic behaviour, fr fr.
ngl bestie, this whole thing shipped asperl v5.36.0documentation dated2022-10-16β so go forth, make fields, slay πππ
π¦ where this page comes from
- ubuntu noble: libwebservice-solr-perl 0.44-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwebservice-solr-perl 0.44-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwebservice-solr-perl 0.44-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms