Interface IDeleteByQueryRequest
Delete documents that match a given query
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IDeleteByQueryRequest : IRequest<DeleteByQueryRequestParameters>, IRequest
Properties
| Edit this page View SourceIndex
Declaration
[IgnoreDataMember]
Indices Index { get; }
Property Value
Type | Description |
---|---|
Indices |
MaximumDocuments
Limit the number of processed documents
Declaration
[DataMember(Name = "max_docs")]
long? MaximumDocuments { get; set; }
Property Value
Type | Description |
---|---|
long? |
Query
The query to use to select documents for deletion
Declaration
[DataMember(Name = "query")]
QueryContainer Query { get; set; }
Property Value
Type | Description |
---|---|
QueryContainer |
Slice
Parallelize the deleting process. This parallelization can improve efficiency and provide a convenient way to break the request down into smaller parts.
Declaration
[DataMember(Name = "slice")]
ISlicedScroll Slice { get; set; }
Property Value
Type | Description |
---|---|
ISlicedScroll |