Class ExplainRequestParameters
Request options for Explain
https://opensearch.org/docs/latest/api-reference/explain/
Implements
Inherited Members
Namespace: OpenSearch.Net
Assembly: OpenSearch.Net.dll
Syntax
public class ExplainRequestParameters : RequestParameters<ExplainRequestParameters>, IRequestParameters
Properties
| Edit this page View SourceAnalyzeWildcard
If true
, wildcard and prefix queries are analyzed.
Declaration
public bool? AnalyzeWildcard { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Analyzer
Analyzer to use for the query string. This parameter can only be used when the q
query string parameter is specified.
Declaration
public string Analyzer { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultHttpMethod
Declaration
public override HttpMethod DefaultHttpMethod { get; }
Property Value
Type | Description |
---|---|
HttpMethod |
Overrides
| Edit this page View SourceDefaultOperator
The default operator for query string query: AND
or OR
.
Declaration
public DefaultOperator? DefaultOperator { get; set; }
Property Value
Type | Description |
---|---|
DefaultOperator? |
Df
Field to use as default where no field prefix is given in the query string.
Declaration
public string Df { get; set; }
Property Value
Type | Description |
---|---|
string |
Lenient
If true
, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
Declaration
public bool? Lenient { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Preference
Specifies the node or shard the operation should be performed on. Random by default.
Declaration
public string Preference { get; set; }
Property Value
Type | Description |
---|---|
string |
QueryOnQueryString
Query in the Lucene query string syntax.
Declaration
public string QueryOnQueryString { get; set; }
Property Value
Type | Description |
---|---|
string |
Routing
Custom value used to route operations to a specific shard.
Declaration
public string[] Routing { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SourceEnabled
True or false to return the _source
field or not, or a list of fields to return.
Declaration
public bool? SourceEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
SourceExcludes
A comma-separated list of source fields to exclude from the response.
Declaration
public string[] SourceExcludes { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SourceIncludes
A comma-separated list of source fields to include in the response.
Declaration
public string[] SourceIncludes { get; set; }
Property Value
Type | Description |
---|---|
string[] |
StoredFields
A comma-separated list of stored fields to return in the response.
Declaration
public string[] StoredFields { get; set; }
Property Value
Type | Description |
---|---|
string[] |
SupportsBody
Declaration
public override bool SupportsBody { get; }
Property Value
Type | Description |
---|---|
bool |