NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.5" />

.NET API 5,339,136 bytes

 ExplainRequest<TDocument>

Request parameters for Explain http://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html
public string Analyzer { get; set; }

The analyzer for the query string query

public bool? AnalyzeWildcard { get; set; }

Specify whether wildcards and prefix queries in the query string query should be analyzed (default: false)

public DefaultOperator? DefaultOperator { get; set; }

The default operator for query string query (AND or OR)

public string Df { get; set; }

The default field for query string query (default: _all)

public bool? Lenient { get; set; }

Specify whether format-based query failures (such as providing text to a numeric field) should be ignored

public string Parent { get; set; }

The ID of the parent document

public string Preference { get; set; }

Specify the node or shard the operation should be performed on (default: random)

public QueryContainer Query { get; set; }

public string QueryOnQueryString { get; set; }

Query in the Lucene query string syntax

public Routing Routing { get; set; }

A document is routed to a particular shard in an index using the following formula

shard_num = hash(_routing) % num_primary_shards

Elasticsearch will use the document id if not provided.

For requests that are constructed from/for a document NEST will automatically infer the routing key if that document has a JoinField or a routing mapping on for its type exists on ConnectionSettings

protected IExplainRequest<TDocument> Self { get; }

public bool? SourceEnabled { get; set; }

Whether the _source should be included in the response.

public Fields SourceExclude { get; set; }

A list of fields to exclude from the returned _source field

public Fields SourceInclude { get; set; }

A list of fields to extract and return from the _source field

public Fields StoredFields { get; set; }

public ExplainRequest(IndexName index, TypeName type, Id id)

/{index}/{type}/{id}/_explain

public ExplainRequest(DocumentPath<TDocument> document, IndexName index = null, TypeName type = null, Id id = null)

/{index}/{type}/{id}/_explain