You're seeing just the function iterate_search, go back to ExAliyunOts module for more information.
Link to this function

iterate_search(instance, table_name, index_name, options)

View Source


iterate_search(instance(), table_name(), index_name(), options()) :: result()

As a wrapper built on stream_search/4 to fetch a full matched data set as a stream, then use Enum.reduce/2 to iteratively format all data into a list, if process a large items, recommend to use stream_search/4.


Please see options of search/4 for details.