Starting point for the Solr API. Represents a Solr server resource and has methods for pinging, adding, deleting, committing, optimizing and searching.
Example Usage:
Located in /Service.php (line 62)
Escape a value for special query characters such as ':', '(', ')', '*', '?', etc.
NOTE: inside a phrase fewer characters need escaped, use Apache_Solr_Service::escapePhrase() instead
Escape a value meant to be contained in a phrase for special query characters
Convenience function for creating phrase syntax from a value
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 a Solr Document to the index
Add an array of Solr Documents to the index all at once
Send a commit command. Will be synchronous unless both wait parameters are set to false.
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
Create a delete document based on document ID
Create a delete document based on a query and submit it
Send an optimize command. Will be synchronous unless both wait parameters are set to false.
Call the /admin/ping servlet, can be used to quickly tell if a connection to the server is able to be made.
Simple Search interface
Constructor. All parameters are optional and will take on default values if not specified.
Set the host used. If empty will fallback to constants
Set the path used. If empty will fallback to constants
Set the port used. If empty will fallback to constants
Set the string used to separate the path form the query string.
Defaulted to '?'
Set the string used to separate the parameters in thequery string Defaulted to '&'
Call the /admin/threads servlet and retrieve information about all threads in the Solr servlet's thread group. Useful for diagnostics.
Documentation generated on Tue, 02 Oct 2007 12:55:39 -0400 by phpDocumentor 1.4.0