Apache::Solr::JSON - Apache Solr (Lucene) client via JSON
Apache::Solr::JSON is an Apache::Solr
my $solr = Apache::Solr::JSON->new(...); my $solr = Apache::Solr->new(format => 'JSON', ...);
Implement the Solr client, where the communication is in JSON.
Both the requests and the responses are using JSON syntax, produced by the JSON distribution (which defaults to JSON::XS when installed)
Warning 1: Apparently, Perl's JSON implementation does not support the repetition of keys in one list, but Solr is using that. Care is taken to avoid these cases.
Warning 2: In some cases, XML and JSON differ in structure and names in the structure. In those cases, the XML plan is made leading: the JSON data is transformed to match the XML.
Extends "DESCRIPTION" in Apache::Solr.
Extends "METHODS" in Apache::Solr.
Extends "Constructors" in Apache::Solr.
-Option --Defined in --Default agent Apache::Solr <created internally> autocommit Apache::Solr true core Apache::Solr undef format Apache::Solr 'JSON' json <created internally> retry_max Apache::Solr 60 retry_wait Apache::Solr 5 server Apache::Solr <required> server_version Apache::Solr <latest>
By default, an JSON object is created for you, in utf8 mode.
Extends "Accessors" in Apache::Solr.
Inherited, see "Accessors" in Apache::Solr
See http://wiki.apache.org/solr/UpdateJSON
Extends "Commands" in Apache::Solr.
Extends "Helpers" in Apache::Solr.
Construct a simple XML structure.
Extends "DETAILS" in Apache::Solr.
This module is part of Apache-Solr distribution version 1.09, built on December 06, 2022. Website: http://perl.overmeer.net/CPAN/
Copyrights 2012-2022 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
To install Apache::Solr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::Solr
CPAN shell
perl -MCPAN -e shell install Apache::Solr
For more information on module installation, please visit the detailed CPAN module installation guide.