Mark Overmeer > Apache-Solr > Apache::Solr::XML

Download:
Apache-Solr-0.98.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Module Version: 0.98   Source  

NAME ^

Apache::Solr::XML - Apache Solr (Lucene) client via XML

INHERITANCE ^

 Apache::Solr::XML
   is a Apache::Solr

SYNOPSIS ^

  my $solr = Apache::Solr::XML->new(...);
  my $solr = Apache::Solr->new(format => 'XML', ...);

DESCRIPTION ^

Implement the Solr client, where the communication is in XML.

This module uses XML::LibXML to parse and construct XML.

Extends "DESCRIPTION" in Apache::Solr.

METHODS ^

Extends "METHODS" in Apache::Solr.

Constructors

Extends "Constructors" in Apache::Solr.

Apache::Solr::XML->new(OPTIONS)

Creates a new object. You may have objects shared the same LWP::UserAgent object, to share connections.

 -Option        --Defined in     --Default
  agent           Apache::Solr     <created internally>
  autocommit      Apache::Solr     true
  core            Apache::Solr     undef
  format          Apache::Solr     'XML'
  server          Apache::Solr     <required>
  server_version  Apache::Solr     <latest>
agent => LWP::UserAgent object
autocommit => BOOLEAN
core => NAME
format => 'XML'|'JSON'
server => URL
server_version => VERSION

Accessors

Extends "Accessors" in Apache::Solr.

$obj->agent()

Inherited, see "Accessors" in Apache::Solr

$obj->autocommit( [BOOLEAN] )

Inherited, see "Accessors" in Apache::Solr

$obj->core( [CORE] )

Inherited, see "Accessors" in Apache::Solr

$obj->server( [$uri|STRING] )

Inherited, see "Accessors" in Apache::Solr

$obj->serverVersion()

Inherited, see "Accessors" in Apache::Solr

$obj->xmlsimple()

Commands

Extends "Commands" in Apache::Solr.

Helpers

Extends "Helpers" in Apache::Solr.

$obj->simpleDocument( COMMAND, [ATTRIBUTES, [CONTENT]] )

Construct a simple XML structure.

$obj->simpleUpdate( COMMAND, ATTRIBUTES, [CONTENT] )

DETAILS ^

Extends "DETAILS" in Apache::Solr.

SEE ALSO ^

This module is part of Apache-Solr distribution version 0.98, built on January 22, 2014. Website: http://perl.overmeer.net

LICENSE ^

Copyrights 2012-2014 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://www.perl.com/perl/misc/Artistic.html

syntax highlighting: