<http-protocol>://<path>
solr://COLLECTION_NAME/…
extservice://SERVICE_NAME/<path>
${docField}
will be replaced with the value of the field named docField
for the document being processed.
Several types of responses are also supported:
params
in the REST API). Parameters are specified as key-value pairs:
Endpoint URI / uri | A fully-qualified service URI. This can be an HTTP call, a Solr request, or a Fusion service call ● any HTTP or HTTPS request: <http-protocol>://<path> ● a Solr request: solr://COLLECTION_NAME/… ● a Fusion service request: extservice://SERVICE_NAME/<path> |
Call Method / method | The method to use for the RPC call. Supported methods are GET , POST , PUT , and DELETE . |
Query parameters / queryParams | Query parameters to be passed with the request. |
Request protocol headers / headers | Request protocol headers, such as "Content-Type" : "application/json" . |
Request entity (as string) / entity | The request body. This parameter can only be configured via the REST API; see the example below. |
params
can also take variable substitution expressions. Variables are expressed as ${fieldName}
, where fieldName
is a name of the current document’s field (or id
for the document’s id). Only the first value of a multi-valued field is used for substitution, and this value is treated as a string.
For example, a queryParams
could be constructed as follows:
${prodName}
will be replaced with the string value of the ‘prodName’ field in the current document being processed. If the current document contains “iPhone 6” as the value of ‘prodName’, the resulting query in this example will be a fielded search q=a_txt:iPhone 6
.
\t
for the tab character. When entering configuration values in the API, use escaped characters, such as \\t
for the tab character.