Hisoka-X commented on code in PR #9150: URL: https://github.com/apache/seatunnel/pull/9150#discussion_r2040518292
########## seatunnel-connectors-v2/connector-elasticsearch/src/main/java/org/apache/seatunnel/connectors/seatunnel/elasticsearch/config/ElasticsearchSourceOptions.java: ########## @@ -87,4 +88,25 @@ public class ElasticsearchSourceOptions extends ElasticsearchBaseOptions { Collections.singletonMap("match_all", new HashMap<String, String>())) .withDescription( "Elasticsearch query language. You can control the range of data read"); + + public static final Option<Boolean> USE_PIT = Review Comment: How about add new enum type named `search_api_type`? Support `scorll` and `pit` and set `scroll` by default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org