Default

class Default(val index: String, val pageSize: Int = 100, val concurrency: Int = 1, val f: (Query.Builder) -> ObjectBuilder<Query> = { it.matchAll { it } }) : PaginatedSearch

Constructors

Link copied to clipboard
constructor(index: String, pageSize: Int = 100, concurrency: Int = 1, f: (Query.Builder) -> ObjectBuilder<Query> = { it.matchAll { it } })

Properties

Link copied to clipboard
val concurrency: Int = 1
Link copied to clipboard
val f: (Query.Builder) -> ObjectBuilder<Query>
Link copied to clipboard
Link copied to clipboard
val pageSize: Int = 100

Functions

Link copied to clipboard
open override fun <T> paginatedSearchFlow(client: ElasticsearchAsyncClient, clazz: Class<T>): Flow<Hit<T>>