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
where T : class => this.DoRequest<T>(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters));
1538
+
where T : class => this.DoRequest<T>(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true));
1539
1539
1540
1540
///<summary>Represents a DELETE on /{index}/{type}/{id}
1541
1541
///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
where T : class => this.DoRequestAsync<T>(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters));
1554
+
where T : class => this.DoRequestAsync<T>(DELETE, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true));
1555
1555
1556
1556
///<summary>Represents a DELETE on /_scripts/{lang}/{id}
1557
1557
///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
@@ -1835,7 +1835,7 @@ public Task<ElasticsearchResponse<T>> FieldStatsAsync<T>(string index, PostData<
1835
1835
///<param name="id">The document ID</param>
1836
1836
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
where T : class => this.DoRequest<T>(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters));
1838
+
where T : class => this.DoRequest<T>(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true));
1839
1839
1840
1840
///<summary>Represents a GET on /{index}/{type}/{id}
1841
1841
///<para></para>Returns: A task of ElasticsearchResponse<T> where the behaviour depends on the type of T:
@@ -1851,7 +1851,7 @@ public ElasticsearchResponse<T> Get<T>(string index, string type, string id, Fun
1851
1851
///<param name="id">The document ID</param>
1852
1852
///<param name="requestParameters">A func that allows you to describe the querystring parameters & request specific connection settings.</param>
where T : class => this.DoRequestAsync<T>(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters));
1854
+
where T : class => this.DoRequestAsync<T>(GET, Url($"{index.NotNull("index")}/{type.NotNull("type")}/{id.NotNull("id")}"), null, _params(requestParameters, allow404: true));
1855
1855
1856
1856
///<summary>Represents a GET on /_scripts/{lang}/{id}
1857
1857
///<para></para>Returns: ElasticsearchResponse<T> where the behavior depends on the type of T:
0 commit comments