SolrRequestHandler Class
An abstract representation of a Solr request handler, including its type, path and HTTP method.
Methods
buildPayload
-
adapter -
the -
type -
operation -
data
Prepares the data and optinally adjusts the path properties to send to Solr as a querystring or in an HTTP POST request body.
This method mutates the state of the instance it is invoked on and has no return value.
Parameters:
-
adapterSolrAdapterthe adapter invoking this method
-
theDS.Storestore related to the type and data
-
typesubclass of DS.Modelthe type corresponding to the operation
-
operationStringthe operation e.g. 'find', 'updateRecord', etc.
-
dataObjectthe ID(s), query or snapshot payload to prepare.
Properties
data
Object
The data payload to send in the request, as a query string or as a JSON request body.
Default: null
path
String
The path to route the request to. Typical
examples include handler paths like /search,
/select, /get, and /update.
