Interface IScrollAllRequest
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IScrollAllRequest
Properties
| Edit this page View SourceBackPressure
Simple back pressure implementation that makes sure the minimum max concurrency between producer and consumer is not amplified by the greedier of the two by more then a given back pressure factor When set each scroll request will additionally wait on WaitAsync(CancellationToken) as well as MaxDegreeOfParallelism if set. Not that the consumer has to call Release() on the same instance every time it is done.
Declaration
ProducerConsumerBackPressure BackPressure { get; set; }
Property Value
Type | Description |
---|---|
ProducerConsumerBackPressure |
MaxDegreeOfParallelism
The maximum degree of parallelism we should drain the sliced scroll, defaults to the value of Slices
Declaration
int? MaxDegreeOfParallelism { get; set; }
Property Value
Type | Description |
---|---|
int? |
RoutingField
Set a different routing field, has to have doc_values enabled
Declaration
Field RoutingField { get; set; }
Property Value
Type | Description |
---|---|
Field |
ScrollTime
The ammount of time to keep the scroll alive on the server
Declaration
Time ScrollTime { get; set; }
Property Value
Type | Description |
---|---|
Time |
Search
An optional search request that describes the search we want to scroll over. Defaults to matchall on the index and type of T in the ScrollAllObserver<T>. Note: both scroll and slice information WILL be overriden.
Declaration
ISearchRequest Search { get; set; }
Property Value
Type | Description |
---|---|
ISearchRequest |
Slices
The maximum number of slices to partition the scroll over
Declaration
int Slices { get; set; }
Property Value
Type | Description |
---|---|
int |