BySearchAfter

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

Constructors

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

Types

Link copied to clipboard
class Field(val name: String, val order: SortOrder)

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
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>>