Package-level declarations
Types
Link copied to clipboard
class IndexRepository<T : Any>(val indexName: String, client: SearchClient, val serializer: ModelSerializationStrategy<T>, val indexWriteAlias: String = indexName, val indexReadAlias: String = indexWriteAlias, val defaultParameters: Map<String, String>? = null, defaultRefresh: Refresh? = Refresh.WaitFor, defaultTimeout: Duration? = null, logging: Boolean = true)
Link copied to clipboard
class KotlinxSerializationModelSerializationStrategy<T : Any>(serializer: KSerializer<T>, json: Json = DEFAULT_JSON) : ModelSerializationStrategy<T>
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun <T : Any> SearchClient.ktorModelSerializer(serializer: KSerializer<T>, customJson: Json? = null): KotlinxSerializationModelSerializationStrategy<T>
Link copied to clipboard
fun <T : Any> SearchClient.repository(indexName: String, serializer: KSerializer<T>, indexWriteAlias: String = indexName, indexReadAlias: String = indexWriteAlias, defaultParameters: Map<String, String>? = null): IndexRepository<T>