can someone help me how can I search without using the scroll feature inside the elastic with alpakka.
I want to use alpakka or akka-stream to reactively send a query to elastic without scrolling, But the only thing I found was "ElasticsearchSource" in alpakka, which sends search requests using scroll.
In aplakka ElasticsearchSourceSettings document there is two parameters for control scroll scan:
- bufferSize => ElasticsearchSource retrieves messages from Elasticsearch by scroll scan. This buffer size is used as the scroll size.
- scrollDuration => ElasticsearchSource retrieves messages from Elasticsearch by scroll scan. This parameter is used as a scroll value.
and in githup source code The only function that sends an elastic request is "sendScrollScanRequest".
Does setting these values to zero disable scroll scanning?
Is it possible to send search requests without scrolling using alpakka or akka-stream?