-
add
-
Raw Add Method. Takes a raw post body and sends it to the update service. Post body should be a complete and well formed "add" xml document.
-
add
-
Raw Add Method. Takes a raw post body and sends it to the update service. Post body should be a complete and well formed "add" xml document.
-
addDocument
-
Add a Solr Document to the index
-
addDocument
-
Add a Solr Document to the index
-
addDocuments
-
Add an array of Solr Documents to the index all at once
-
addDocuments
-
Add an array of Solr Documents to the index all at once
-
addField
-
Add a value to a multi-valued field
-
addReadService
-
Adds a service instance or service descriptor (if it is already not added)
-
addWriteService
-
Adds a service instance or service descriptor (if it is already not added)
-
Apache_Solr_Document
-
Holds Key / Value pairs that represent a Solr Document along with any associated boost values. Field values can be accessed by direct dereferencing such as:
-
Apache_Solr_Exception
-
Copyright (c) 2007-2011, Servigistics, Inc.
-
Apache_Solr_HttpTransportException
-
Copyright (c) 2007-2011, Servigistics, Inc.
-
Apache_Solr_HttpTransport_Abstract
-
Convenience class that implements the transport implementation. Can be extended by
-
Apache_Solr_HttpTransport_Curl
-
A Curl based HTTP transport. Uses a single curl session for all requests.
-
Apache_Solr_HttpTransport_CurlNoReuse
-
An alternative Curl HTTP transport that opens and closes a curl session for every request. This isn't the recommended way to use curl, but some version of PHP have memory issues.
-
Apache_Solr_HttpTransport_FileGetContents
-
HTTP Transport implemenation that uses the builtin http URL wrappers and file_get_contents
-
Apache_Solr_HttpTransport_Interface
-
Interface that all Transport (HTTP Requester) implementations must implement. These
-
Apache_Solr_HttpTransport_Response
-
Represents the required pieces of an HTTP response provided by HTTP transport
-
Apache_Solr_InvalidArgumentException
-
Copyright (c) 2007-2011, Servigistics, Inc.
-
Apache_Solr_NoServiceAvailableException
-
Copyright (c) 2007-2011, Servigistics, Inc.
-
Apache_Solr_ParserException
-
Copyright (c) 2007-2011, Servigistics, Inc.
-
Apache_Solr_Response
-
Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access.
-
Apache_Solr_Service
-
Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.
-
Apache_Solr_Service_Balancer
-
Reference Implementation for using multiple Solr services in a distribution. Functionality
-
Abstract.php
-
-
getBody
-
Get the raw response body
-
getBoost
-
Get current document boost
-
getCollapseSingleValueArrays
-
Get the current state of the collapse single value arrays flag.
-
getCreateDocuments
-
Get the current state of teh create documents flag.
-
getCreateDocuments
-
Get the current state of teh create documents flag.
-
getDefaultStatusMessage
-
Get the HTTP status message based on status code
-
getDefaultTimeout
-
Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds
-
getDefaultTimeout
-
Get the current default timeout for all HTTP requests
-
getDefaultTimeout
-
Get the current default timeout setting (initially the default_socket_timeout ini setting) in seconds
-
getEncoding
-
Get the charset encoding of the response body.
-
getEncoding
-
Get character encoding of this response. Should usually be utf-8, but just in case
-
getField
-
Get field information
-
getFieldBoost
-
Get the currently set field boost for a document field
-
getFieldBoosts
-
Return current field boosts, indexed by field name
-
getFieldNames
-
Get the names of all fields in this document
-
getFieldValues
-
Get the values of all fields in this document
-
getHost
-
Returns the set host
-
getHttpStatus
-
Get the HTTP status code
-
getHttpStatusMessage
-
Get the HTTP status message of the response
-
getHttpTransport
-
Get the current configured HTTP Transport
-
getIterator
-
IteratorAggregate implementation function. Allows usage:
-
getMimeType
-
Get the mimetype of the response body
-
getNamedListTreatment
-
Get the current setting for named list treatment.
-
getPath
-
Get the set path.
-
getPort
-
Get the set port
-
getRawResponse
-
Get the raw response as it was given to this object
-
getResponse
-
Get the response for which this exception was generated
-
getStatusCode
-
Get the status code of the response
-
getStatusMessage
-
Get the status message of the response
-
getType
-
Get content type of this Solr response
-
search
-
Simple Search interface
-
search
-
Simple Search interface
-
SEARCH_SERVLET
-
-
Service.php
-
-
setBoost
-
Set document boost factor
-
setCollapseSingleValueArrays
-
Set the collapse single value arrays flag.
-
setCreateDocuments
-
-
setCreateDocuments
-
-
setDefaultTimeout
-
Set the current default timeout for all HTTP requests
-
setDefaultTimeout
-
Set the default timeout for all calls that aren't passed a specific timeout
-
setDefaultTimeout
-
Set the current default timeout for all HTTP requests
-
setField
-
Set a field value. Multi-valued fields should be set as arrays or instead use the addField(...) function which will automatically make sure the field is an array.
-
setFieldBoost
-
Set the field boost for a document field
-
setHost
-
Set the host used. If empty will fallback to constants
-
setHttpTransport
-
Set the HTTP Transport implemenation that will be used for all HTTP requests
-
setMultiValue
-
Handle the array manipulation for a multi-valued field
-
setNamedListTreatment
-
Set how NamedLists should be formatted in the response data. This mainly effects the facet counts format.
-
setPath
-
Set the path used. If empty will fallback to constants
-
setPort
-
Set the port used. If empty will fallback to constants
-
setQueryDelimiter
-
Set the string used to separate the path form the query string.
-
setQueryStringDelimiter
-
Set the string used to separate the parameters in thequery string Defaulted to '&'
-
setReadPingTimeout
-
-
setUseBackoff
-
-
setWritePingTimeout
-
-
SOLR_WRITER
-
Response writer we'll request - JSON. See http://code.google.com/p/solr-php-client/issues/detail?id=6#c1 for reasoning
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_ID
-
SVN ID meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
SVN_REVISION
-
SVN Revision meta data for this class
-
$_backoffEscalation
-
-
$_backoffLimit
-
-
$_collapseSingleValueArrays
-
Whether
Apache_Solr_Response objects should have multivalue fields with only a single value collapsed to appear as a single value would.
-
$_collapseSingleValueArrays
-
-
$_createDocuments
-
Data parsing flags. Determines what extra processing should be done after the data is initially converted to a data structure.
-
$_createDocuments
-
-
$_createDocuments
-
-
$_currentReadService
-
-
$_currentWriteService
-
-
$_defaultBackoff
-
-
$_documentBoost
-
Document boost value
-
$_fieldBoosts
-
Document field boost values, indexed by name
-
$_fields
-
Document field values, indexed by name
-
$_host
-
Server identification strings
-
$_httpTransport
-
HTTP Transport implementation (pluggable)
-
$_isParsed
-
Whether the raw response has been parsed
-
$_namedListTreatment
-
-
$_parsedData
-
Parsed representation of the data
-
$_path
-
-
$_pingUrl
-
Constructed servlet full path URLs
-
$_port
-
-
$_queryBracketsEscaped
-
-
$_queryDelimiter
-
Query delimiters. Someone might want to be able to change these (to use & instead of & for example), so I've provided them.
-
$_queryStringDelimiter
-
-
$_readableServices
-
-
$_readPingTimeout
-
-
$_response
-
Holds the raw response used in construction
-
$_searchUrl
-
-
$_threadsUrl
-
-
$_updateUrl
-
-
$_urlsInited
-
Keep track of whether our URLs have been constructed
-
$_useBackoff
-
-
$_writeableServices
-
-
$_writePingTimeout
-
-
_constructUrl
-
Return a valid http URL given this server's host, port and path and a provided servlet name
-
_documentToXmlFragment
-
Create an XML fragment from a
Apache_Solr_Document instance appropriate for use inside a Solr add call
-
_generateQueryString
-
-
_getServiceId
-
Generates a service ID
-
_initUrls
-
Construct the Full URLs for the three servlets we reference
-
_parseData
-
Parse the raw response into the parsed_data array for access
-
_selectReadService
-
Iterate through available read services and select the first with a ping that satisfies configured timeout restrictions (or the default)
-
_selectWriteService
-
Iterate through available write services and select the first with a ping that satisfies configured timeout restrictions (or the default)
-
_selectWriteServiceSafe
-
Iterate through available write services and select the first with a ping
-
_sendRawGet
-
Central method for making a get operation against this Solr Server
-
_sendRawPost
-
Central method for making a post operation against this Solr Server
-
_stripCtrlChars
-
Replace control (non-printable) characters from string that are invalid to Solr's XML parser with a space.
-
__construct
-
Constructor. All parameters are optional and will take on default values if not specified.
-
__construct
-
Construct a HTTP transport response
-
__construct
-
Initializes our reuseable get and post stream contexts
-
__construct
-
Initializes a curl session
-
__construct
-
HttpTransportException Constructor
-
__construct
-
Constructor. Takes the raw HTTP response body and the exploded HTTP headers
-
__construct
-
Constructor. Takes arrays of read and write service instances or descriptions
-
__destruct
-
Closes a curl session
-
__get
-
Magic get to expose the parsed data and to lazily load it
-
__get
-
Magic get for field values
-
__isset
-
Magic isset for fields values. Do not call directly. Allows usage:
-
__isset
-
Magic function for isset function on parsed data
-
__set
-
Magic set for field values. Multi-valued fields should be set as arrays or instead use the addField(...) function which will automatically make sure the field is an array.
-
__unset
-
Magic unset for field values. Do not call directly. Allows usage: