Class PlainRequestBase<TParameters>
Inheritance
PlainRequestBase<TParameters>
Assembly: OpenSearch.Client.dll
Syntax
public abstract class PlainRequestBase<TParameters> : RequestBase<TParameters>, IRequest<TParameters>, IRequest where TParameters : class, IRequestParameters, new()
Type Parameters
Name |
Description |
TParameters |
|
Constructors
|
Edit this page
View Source
PlainRequestBase()
Declaration
protected PlainRequestBase()
|
Edit this page
View Source
PlainRequestBase(Func<RouteValues, RouteValues>)
Declaration
protected PlainRequestBase(Func<RouteValues, RouteValues> pathSelector)
Parameters
Properties
|
Edit this page
View Source
ErrorTrace
Include the stack trace of returned errors.
Declaration
public bool? ErrorTrace { get; set; }
Property Value
|
Edit this page
View Source
FilterPath
A comma-separated list of filters used to reduce the response.
Use of response filtering can result in a response from OpenSearch
that cannot be correctly deserialized to the respective response type for the request.
In such situations, use the low level client to issue the request and handle response deserialization
Declaration
public string[] FilterPath { get; set; }
Property Value
|
Edit this page
View Source
Human
Return human readable values for statistics.
Declaration
public bool? Human { get; set; }
Property Value
|
Edit this page
View Source
Pretty
Pretty format the returned JSON response.
Declaration
public bool? Pretty { get; set; }
Property Value
|
Edit this page
View Source
RequestConfiguration
Specify settings for this request alone, handy if you need a custom timeout or want to bypass sniffing, retries
Declaration
public IRequestConfiguration RequestConfiguration { get; set; }
Property Value
|
Edit this page
View Source
SourceQueryString
The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
Declaration
public string SourceQueryString { get; set; }
Property Value
Implements
Extension Methods