IndexDescriptor<TDocument>
public class IndexDescriptor<TDocument> : RequestDescriptorBase<IndexDescriptor<TDocument>, IndexRequestParameters, IIndexRequest<TDocument>>, IIndexRequest<TDocument>, IProxyRequest, IRequest, IRequest<IndexRequestParameters>
descriptor for Index http://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html
/{index}/{type}
/{index}/{type}
Document ID
only perform the index operation if the last operation that has changed the document has the specified primary term
only perform the index operation if the last operation that has changed the document has the specified sequence number
The name of the index
a shortcut into calling Index(typeof(TOther))
Explicit operation type
ID of the parent document
The pipeline id to preprocess incoming documents with
If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes.
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
Explicit operation timeout
The type of the document
a shortcut into calling Type(typeof(TOther))
Explicit version number for concurrency control
Specific version type
Sets the number of shard copies that must be active before proceeding with the index operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)