Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class AsyncResult<P, T>(val task: String, val createStatus: (Deserializer.ObjectCtx) -> P, val createResponse: (Deserializer.ObjectCtx) -> T)
Link copied to clipboard
abstract class BaseSearchQuery<S : BaseDocSource, T : BaseSearchQuery<S, T>>(docSourceFactory: (obj: Deserializer.ObjectCtx) -> S, query: QueryExpression? = null, params: Params = Params())
An abstract class that holds all the search query builder methods. Inheritors of the class can implement some shortcut methods. For instance SearchQuery.execute which can be suspendable or blocking.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class CreateIndexResult(val acknowledged: Boolean, val shardsAcknowledged: Boolean, val index: String)
Link copied to clipboard
Link copied to clipboard
data class DeleteByQueryResult(val took: Long, val timedOut: Boolean, val total: Long, val deleted: Long, val batches: Int, val versionConflicts: Long, val noops: Long, val retries: BulkScrollRetries, val throttledMillis: Long, val requestsPerSecond: Float, val throttledUntilMillis: Long, val failures: List<BulkScrollFailure>)
Link copied to clipboard
Link copied to clipboard
class ElasticsearchCluster(val transport: ElasticsearchTransport, val apiSerde: Serde, val bulkSerde: Serde.OneLineJson, compilers: CompilerSet? = null)
Link copied to clipboard
Link copied to clipboard
data class Explanation(val value: Float, val description: String, val details: List<Explanation> = emptyList())
Link copied to clipboard
data class MultiSearchQueryResult(val took: Long?, val responses: List<SearchQueryResult<BaseDocSource>>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface PreparedSearchQuery
Link copied to clipboard
data class SearchHit<S : BaseDocSource>(val index: String, val type: String, val id: String, val routing: String? = null, val version: Long? = null, val seqNo: Long? = null, val primaryTerm: Long? = null, val score: Float? = null, val sort: List<Any?>? = null, val source: S? = null, val fields: SearchHit.Fields = Fields(emptyMap()), val explanation: Explanation? = null) : ActionMeta
Link copied to clipboard
open class SearchQuery<S : BaseDocSource>(docSourceFactory: (obj: Deserializer.ObjectCtx) -> S, query: QueryExpression? = null, params: Params = Params()) : BaseSearchQuery<S, SearchQuery<S>>
An asynchronous version of search query.
Link copied to clipboard
data class SearchQueryResult<S : BaseDocSource>(val rawResult: Map<String, Any?>?, val took: Long, val timedOut: Boolean, val totalHits: Long?, val totalHitsRelation: String?, val maxScore: Float?, val hits: List<SearchHit<S>>, val aggs: Map<String, AggregationResult>) : AggAwareResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class UpdateByQueryResult(val took: Long, val timedOut: Boolean, val total: Long, val updated: Long, val deleted: Long, val batches: Int, val versionConflicts: Long, val noops: Long, val retries: BulkScrollRetries, val throttledMillis: Long, val requestsPerSecond: Float, val throttledUntilMillis: Long, val failures: List<BulkScrollFailure>)
Link copied to clipboard