You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.MachineLearning.cs
+105-1Lines changed: 105 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -222,6 +222,110 @@ public class ExplainDataFrameAnalyticsRequestParameters : RequestParameters<Expl
222
222
publicoverrideboolSupportsBody=>true;
223
223
}
224
224
225
+
///<summary>Request options for FindFileStructure <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html</para></summary>
///<summary>Optional parameter to specify the character set of the file</summary>
231
+
publicstringCharset
232
+
{
233
+
get=>Q<string>("charset");
234
+
set=>Q("charset",value);
235
+
}
236
+
237
+
///<summary>Optional parameter containing a comma separated list of the column names for a delimited file</summary>
238
+
publicstring[]ColumnNames
239
+
{
240
+
get=>Q<string[]>("column_names");
241
+
set=>Q("column_names",value);
242
+
}
243
+
244
+
///<summary>Optional parameter to specify the delimiter character for a delimited file - must be a single character</summary>
245
+
publicstringDelimiter
246
+
{
247
+
get=>Q<string>("delimiter");
248
+
set=>Q("delimiter",value);
249
+
}
250
+
251
+
///<summary>Whether to include a commentary on how the structure was derived</summary>
252
+
publicbool?Explain
253
+
{
254
+
get=>Q<bool?>("explain");
255
+
set=>Q("explain",value);
256
+
}
257
+
258
+
///<summary>Optional parameter to specify the high level file format</summary>
259
+
publicFormat?Format
260
+
{
261
+
get=>Q<Format?>("format");
262
+
set=>Q("format",value);
263
+
}
264
+
265
+
///<summary>Optional parameter to specify the Grok pattern that should be used to extract fields from messages in a semi-structured text file</summary>
266
+
publicstringGrokPattern
267
+
{
268
+
get=>Q<string>("grok_pattern");
269
+
set=>Q("grok_pattern",value);
270
+
}
271
+
272
+
///<summary>Optional parameter to specify whether a delimited file includes the column names in its first row</summary>
273
+
publicbool?HasHeaderRow
274
+
{
275
+
get=>Q<bool?>("has_header_row");
276
+
set=>Q("has_header_row",value);
277
+
}
278
+
279
+
///<summary>Maximum number of characters permitted in a single message when lines are merged to create messages.</summary>
280
+
publicint?LineMergeSizeLimit
281
+
{
282
+
get=>Q<int?>("line_merge_size_limit");
283
+
set=>Q("line_merge_size_limit",value);
284
+
}
285
+
286
+
///<summary>How many lines of the file should be included in the analysis</summary>
287
+
publicint?LinesToSample
288
+
{
289
+
get=>Q<int?>("lines_to_sample");
290
+
set=>Q("lines_to_sample",value);
291
+
}
292
+
293
+
///<summary>Optional parameter to specify the quote character for a delimited file - must be a single character</summary>
294
+
publicstringQuote
295
+
{
296
+
get=>Q<string>("quote");
297
+
set=>Q("quote",value);
298
+
}
299
+
300
+
///<summary>Optional parameter to specify whether the values between delimiters in a delimited file should have whitespace trimmed from them</summary>
301
+
publicbool?ShouldTrimFields
302
+
{
303
+
get=>Q<bool?>("should_trim_fields");
304
+
set=>Q("should_trim_fields",value);
305
+
}
306
+
307
+
///<summary>Timeout after which the analysis will be aborted</summary>
308
+
publicTimeSpanTimeout
309
+
{
310
+
get=>Q<TimeSpan>("timeout");
311
+
set=>Q("timeout",value);
312
+
}
313
+
314
+
///<summary>Optional parameter to specify the timestamp field in the file</summary>
315
+
publicstringTimestampField
316
+
{
317
+
get=>Q<string>("timestamp_field");
318
+
set=>Q("timestamp_field",value);
319
+
}
320
+
321
+
///<summary>Optional parameter to specify the timestamp format in the file - may be either a Joda or Java time format</summary>
322
+
publicstringTimestampFormat
323
+
{
324
+
get=>Q<string>("timestamp_format");
325
+
set=>Q("timestamp_format",value);
326
+
}
327
+
}
328
+
225
329
///<summary>Request options for FlushJob <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html</para></summary>
@@ -681,7 +785,7 @@ public class PreviewDataFrameAnalyticsRequestParameters : RequestParameters<Prev
681
785
///<summary>Request options for PreviewDatafeed <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
///<summary>GET on /_ml/datafeeds/{datafeed_id}/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
724
+
///<summary>POST on /_ml/datafeeds/{datafeed_id}/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
725
725
///<param name = "datafeedId">The ID of the datafeed to preview</param>
726
726
///<param name = "body">The datafeed config and job config with which to execute the preview</param>
727
727
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>GET on /_ml/datafeeds/{datafeed_id}/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
///<summary>POST on /_ml/datafeeds/{datafeed_id}/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
731
731
///<param name = "datafeedId">The ID of the datafeed to preview</param>
732
732
///<param name = "body">The datafeed config and job config with which to execute the preview</param>
733
733
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>GET on /_ml/datafeeds/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
///<summary>POST on /_ml/datafeeds/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
738
738
///<param name = "body">The datafeed config and job config with which to execute the preview</param>
739
739
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>GET on /_ml/datafeeds/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
///<summary>POST on /_ml/datafeeds/_preview <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html</para></summary>
743
743
///<param name = "body">The datafeed config and job config with which to execute the preview</param>
744
744
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
///<summary>PUT on /_ml/calendars/{calendar_id} <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html</para></summary>
749
749
///<param name = "calendarId">The ID of the calendar to create</param>
750
750
///<param name = "body">The calendar details</param>
///<summary>POST on /_text_structure/find_structure <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html</para></summary>
47
47
///<param name = "body">The contents of the file to be analyzed</param>
48
48
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
49
-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
///<summary>POST on /_text_structure/find_structure <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html</para></summary>
53
52
///<param name = "body">The contents of the file to be analyzed</param>
54
53
///<param name = "requestParameters">Request specific configuration such as querystring parameters & request specific connection settings.</param>
55
-
///<remarks>Note: Experimental within the Elasticsearch server, this functionality is Experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. This functionality is subject to potential breaking changes within a minor version, meaning that your referencing code may break when this library is upgraded.</remarks>
0 commit comments