36 "desc":
"ElasticSearch index create API data provider",
37 "type":
"ElasticSearchIndexCreateDataProvider",
39 "supports_request": True,
44 AbstractDataProvider::DataProviderSummaryInfoKeys
54 const QueryArgs = (
"wait_for_active_shards",
"master_timeout",
"timeout");
122 "desc":
"The name of the index to create",
124 "wait_for_active_shards": {
125 "type": SoftStringOrNothingType,
126 "desc":
"The number of shard copies that must be active before proceeding with the operation. "
127 "Set to `all` or any positive integer up to the total number of shards in the "
128 "index (number_of_replicas+1). Default: `1`, the primary shard.",
131 "type": StringOrNothingType,
132 "desc":
"Period to wait for a connection to the master node (default `30s`). If no response is "
133 "received before the timeout expires, the request fails and returns an error",
136 "type": StringOrNothingType,
137 "desc":
"Period to wait for a response (default `30s`). If no response is received before the "
138 "timeout expires, the request fails and returns an error",
144 "desc":
"The key is the alias name. Index alias names support date math",
147 "type": AutoHashOrNothingType,
148 "desc":
"Mapping for fields in the index. If specified, this mapping can include:\n"
150 "- Field data types\n"
151 "- Mapping parameters",
154 "type": AutoHashOrNothingType,
155 "desc":
"Configuration options for the index",
173 "shards_acknowledged": {
175 "desc":
"Indicates whether the requisite number of shard copies were started for each shard in the "
176 "index before timing out",
180 "desc":
"The name of the index created",
The acknowledged response type.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:28
The AWS REST client base data provider class.
Definition: ElasticSearchDataProviderBase.qc.dox.h:28
const ConstructorOptions
Constructor options.
Definition: ElasticSearchDataProvider.qc.dox.h:61
Aliases data type.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:105
The ElasticSearch index create API data provider.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:30
const ProviderSummaryInfo
Provider summary info.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:43
constructor(RestClient::RestClient rest)
Creates the object from a REST connection.
const ResponseType
Response type.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:51
const RequestType
Request type.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:48
string getName()
Returns the data provider name.
*DataProvider::AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
constructor(*hash< auto > options)
Creates the object from constructor options.
*DataProvider::AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const QueryArgs
Query args.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:54
*string getDesc()
Returns the data provider description.
const ProviderInfo
Provider info.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:34
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Create index request data type.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:113
constructor()
Creates the object.
const Fields
Field descriptions.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:118
Index create API response.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:167
constructor()
Creates the object.
const Fields
Field descriptions.
Definition: ElasticSearchIndexCreateDataProvider.qc.dox.h:172
Base data type for search request types.
Definition: ElasticSearchIndexDataTypeBase.qc.dox.h:28
Qore ElasticSearchDataProvider module definition.
Definition: ElasticSearchAcknowledgedDataType.qc.dox.h:26