Example #1
0
 public BulkOperationOnKnownIndexAndType Create(object obj, string id)
 {
     BulkOperationItems.Add(new BulkOperationItem.Create(IndexName, TypeName, obj, id));
     return(this);
 }
Example #2
0
 public BulkOperationOnKnownIndexAndType Delete(string id)
 {
     BulkOperationItems.Add(new BulkOperationItem.Delete(IndexName, TypeName, id));
     return(this);
 }
Example #3
0
 public BulkOperationOnKnownIndexAndType Index(object obj, string id = null)
 {
     BulkOperationItems.Add(new BulkOperationItem.Index(IndexName, TypeName, obj, id));
     return(this);
 }