Search Results for

    Show / Hide Table of Contents

    Interface IScrollAllRequest

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IScrollAllRequest

    Properties

    | Edit this page View Source

    BackPressure

    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
    | Edit this page View Source

    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?
    | Edit this page View Source

    RoutingField

    Set a different routing field, has to have doc_values enabled

    Declaration
    Field RoutingField { get; set; }
    Property Value
    Type Description
    Field
    | Edit this page View Source

    ScrollTime

    The ammount of time to keep the scroll alive on the server

    Declaration
    Time ScrollTime { get; set; }
    Property Value
    Type Description
    Time
    | Edit this page View Source

    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
    | Edit this page View Source

    Slices

    The maximum number of slices to partition the scroll over

    Declaration
    int Slices { get; set; }
    Property Value
    Type Description
    int

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • BackPressure
      • MaxDegreeOfParallelism
      • RoutingField
      • ScrollTime
      • Search
      • Slices
    • Extension Methods
    Back to top Generated by DocFX