The SearchRequest object has a source(SearchSourceBuilder) method. You can create a new SearchSourceBuilder() object which exposes a searchAfter(Object[]) method which I guess you can use for that .
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.