Elastic

class Elastic

Temporarily override Elastic class until Flowstorm update to Elastic version 8

Constructors

Link copied to clipboard
fun Elastic()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getById(entityClass: KClass<out Entity>, id: String, size: Int = 1): GetResponse
Link copied to clipboard
fun matchAllQuery(index: String): SearchResponse
Link copied to clipboard
fun matchQuery(index: String, queryString: String): SearchResponse
Link copied to clipboard
fun save(jsonWriter: ObjectMapper, entity: Entity, includeDate: Boolean = true)
Link copied to clipboard
fun saveAll(jsonWriter: ObjectMapper, entities: List<Entity>, includeDate: Boolean = true): BulkResponse?
Link copied to clipboard
fun updateById(entityClass: KClass<out Entity>, id: String, updateString: String)

Properties

Link copied to clipboard
@Inject
lateinit var config: Config