Script Development / elasticsearch
The elasticsearch connector operation object primarily provides methods for operating on elasticsearch.
This connector is based on the HTTP protocol for connections
DFF.CONN(...)
parameters are as follows:
Parameter | Type | Required / Default Value | Description |
---|---|---|---|
connector_id |
str | Required | Connector ID |
.query(...)
Sends an HTTP request to elasticsearch. The parameters are as follows:
Parameter | Type | Required / Default Value | Description |
---|---|---|---|
method |
str | Required | Request method: GET , POST , etc. |
path |
str | None |
Request path |
query |
dict | None |
URL parameters for the request |
body |
dict | None |
Request body |
Example | |
---|---|
1 2 3 |
|
For specific query syntax, format, etc., please refer to the official elasticsearch documentation.