Apache::Solr::XML - Apache Solr (Lucene) client via XML
Apache::Solr::XML
is a Apache::Solr
my $solr = Apache::Solr::XML->new(...);
my $solr = Apache::Solr->new(format => 'XML', ...);
Implement the Solr client, where the communication is in XML.
This module uses XML::LibXML to parse and construct XML.
- 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
- $obj->agent()
-
See "Accessors" in Apache::Solr
- $obj->autocommit([BOOLEAN])
-
See "Accessors" in Apache::Solr
- $obj->core([CORE])
-
See "Accessors" in Apache::Solr
- $obj->server([URI|STRING])
-
See "Accessors" in Apache::Solr
- $obj->serverVersion()
-
See "Accessors" in Apache::Solr
- $obj->xmlsimple()
- $obj->queryTerms(TERMS)
-
See "Search" in Apache::Solr
- $obj->select(PARAMETERS)
-
See "Search" in Apache::Solr
- $obj->addDocument(DOC|ARRAY, OPTIONS)
-
See "Updates" in Apache::Solr
- $obj->commit(OPTIONS)
-
See "Updates" in Apache::Solr
- $obj->delete(OPTIONS)
-
See "Updates" in Apache::Solr
- $obj->extractDocument(OPTIONS)
-
See "Updates" in Apache::Solr
- $obj->optimize(OPTIONS)
-
See "Updates" in Apache::Solr
- $obj->rollback()
-
See "Updates" in Apache::Solr
- $obj->coreReload([CORE])
-
See "Core management" in Apache::Solr
- $obj->coreStatus()
-
See "Core management" in Apache::Solr
- $obj->coreUnload([OPTIONS])
-
See "Core management" in Apache::Solr
- $obj->simpleDocument(COMMAND, [ATTRIBUTES, [CONTENT]])
-
Construct a simple XML structure.
- $obj->simpleUpdate(COMMAND, ATTRIBUTES, [CONTENT])
- $obj->deprecated(MESSAGE)
-
See "Parameter pre-processing" in Apache::Solr
- $obj->expandExtract(PAIRS|ARRAY)
-
See "Parameter pre-processing" in Apache::Solr
- $obj->expandSelect(PAIRS)
-
See "Parameter pre-processing" in Apache::Solr
- $obj->expandTerms(PAIRS|ARRAY)
-
See "Parameter pre-processing" in Apache::Solr
- $obj->ignored(MESSAGE)
-
See "Parameter pre-processing" in Apache::Solr
- $obj->endpoint(ACTION, OPTIONS)
-
See "Other helpers" in Apache::Solr
This module is part of Apache-Solr distribution version 0.94, built on January 31, 2013. Website: http://perl.overmeer.net
Copyrights 2012-2013 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