SourceDescriptor<TDocument>
public class SourceDescriptor<TDocument> : RequestDescriptorBase<SourceDescriptor<TDocument>, SourceRequestParameters, ISourceRequest<TDocument>>, ISourceRequest<TDocument>, ISourceRequest, IRequest<SourceRequestParameters>, IRequest
Descriptor for Source
https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html
/{index}/_source/{id}
/{index}/_source/{id}
/{index}/_source/{id}
protected SourceDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
The name of the index
a shortcut into calling Index(typeof(TOther))
Specify the node or shard the operation should be performed on (default: random)
Specify whether to perform the operation in realtime or search mode
Refresh the shard containing the document before performing the operation
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
Whether the _source should be included in the response.
A list of fields to exclude from the returned _source field
A list of fields to exclude from the returned _source field
A list of fields to extract and return from the _source field
A list of fields to extract and return from the _source field
Explicit version number for concurrency control
Specific version type