Full index

Package indexes


a b c d e g k n o p r s t u v _
a
top
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
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
Apache_Solr_Document in Document.php
Holds Key / Value pairs that represent a Solr Document. Field values can be accessed by direct dereferencing such as:
Apache_Solr_Response
Apache_Solr_Response in Response.php
Represents a Solr response. Parses the raw response into a set of stdClass objects and associative arrays for easy access.
Apache_Solr_Service
Apache_Solr_Service in Service.php
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
b
top
Balancer.php
Balancer.php in Balancer.php
c
top
commit
Send a commit command. Will be synchronous unless both wait parameters are set to false.
commit
Send a commit command. Will be synchronous unless both wait parameters are set to false.
current
Iterator implementation function, proxies to _fields. Allows usage:
d
top
delete
Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be a complete and well formed "delete" xml document
delete
Raw Delete Method. Takes a raw post body and sends it to the update service. Body should be a complete and well formed "delete" xml document
deleteById
Create a delete document based on document ID
deleteById
Create a delete document based on document ID
deleteByQuery
Create a delete document based on a query and submit it
deleteByQuery
Create a delete document based on a query and submit it
Document.php
Document.php in Document.php
e
top
escape
Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.
escapePhrase
Escape a value meant to be contained in a phrase for special query characters
g
top
getEncoding
Get character encoding of this response. Should usually be utf-8, but just in case
getFieldNames
Get the names 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
getPath
Get the set path.
getPort
Get the set port
getRawResponse
Get the raw response as it was given to this object
getType
Get content type of this Solr response
k
top
key
Iterator implementation function, proxies to _fields. Allows usage:
n
top
next
Iterator implementation function, proxies to _fields. Allows usage:
o
top
optimize
Send an optimize command. Will be synchronous unless both wait parameters are set to false.
optimize
Send an optimize command. Will be synchronous unless both wait parameters are set to false.
p
top
phrase
Convenience function for creating phrase syntax from a value
ping
Call the /admin/ping servlet, can be used to quickly tell if a connection to the server is able to be made.
PING_SERVLET
Servlet mappings
r
top
removeReadService
Removes a service instance or descriptor from the available services
removeWriteService
Removes a service instance or descriptor from the available services
Response.php
Response.php in Response.php
rewind
Iterator implementation function, proxies to _fields. Allows usage:
s
top
search
Simple Search interface
search
Simple Search interface
SEARCH_SERVLET
Service.php
Service.php in Service.php
setHost
Set the host used. If empty will fallback to constants
setMultiValue
Handle the array manipulation for a multi-valued field
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
setWritePingTimetou
SOLR_VERSION
Response version we support
SOLR_WRITER
Response writer we support
t
top
threads
Call the /admin/threads servlet and retrieve information about all threads in the Solr servlet's thread group. Useful for diagnostics.
THREADS_SERVLET
u
top
UPDATE_SERVLET
v
top
valid
Iterator implementation function, proxies to _fields. Allows usage:
_
top
$_currentReadService
$_currentWriteService
$_readableServices
$_readPingTimeout
$_writeableServices
$_writePingTimeout
__construct
Constructor. All parameters are optional and will take on default values if not specified.
__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
__get
Magic get for field values
__get
Magic get to expose the parsed data and to lazily load it
__isset
Magic isset for fields values. Do no call directly. Allows usage:
__set
Magic set for field values. Multi-valued fields should be set as arrays or instead use the setMultiValue(...) function which will automatically make sure the field is an array.
__unset
Magic unset for field values. Do no call directly. Allows usage:
a b c d e g k n o p r s t u v _