Class BulkIndexDescriptor<T>
Inheritance
BulkIndexDescriptor<T>
Assembly: OpenSearch.Client.dll
Syntax
[DataContract]
public class BulkIndexDescriptor<T> : BulkOperationDescriptorBase<BulkIndexDescriptor<T>, IBulkIndexOperation<T>>, IDescriptor, IBulkIndexOperation<T>, IBulkOperation where T : class
Type Parameters
Properties
|
Edit this page
View Source
BulkOperationClrType
Declaration
protected override Type BulkOperationClrType { get; }
Property Value
Overrides
|
Edit this page
View Source
BulkOperationType
Declaration
protected override string BulkOperationType { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
Document(T)
The object to index, if id is not manually set it will be inferred from the object
Declaration
public BulkIndexDescriptor<T> Document(T @object)
Parameters
Type |
Name |
Description |
T |
object |
|
Returns
|
Edit this page
View Source
GetBulkOperationBody()
Declaration
protected override object GetBulkOperationBody()
Returns
Overrides
|
Edit this page
View Source
GetIdForOperation(Inferrer)
Declaration
protected override Id GetIdForOperation(Inferrer inferrer)
Parameters
Returns
Overrides
|
Edit this page
View Source
GetRoutingForOperation(Inferrer)
Declaration
protected override Routing GetRoutingForOperation(Inferrer inferrer)
Parameters
Returns
Overrides
|
Edit this page
View Source
IfPrimaryTerm(long?)
Declaration
public BulkIndexDescriptor<T> IfPrimaryTerm(long? primaryTerm)
Parameters
Type |
Name |
Description |
long? |
primaryTerm |
|
Returns
|
Edit this page
View Source
IfSequenceNumber(long?)
Declaration
public BulkIndexDescriptor<T> IfSequenceNumber(long? seqNo)
Parameters
Type |
Name |
Description |
long? |
seqNo |
|
Returns
|
Edit this page
View Source
Percolate(string)
Declaration
public BulkIndexDescriptor<T> Percolate(string percolate)
Parameters
Type |
Name |
Description |
string |
percolate |
|
Returns
|
Edit this page
View Source
Pipeline(string)
The pipeline id to preprocess documents with
Declaration
public BulkIndexDescriptor<T> Pipeline(string pipeline)
Parameters
Type |
Name |
Description |
string |
pipeline |
|
Returns
Implements
Extension Methods