upv-core-app
1.0.10
upv-core-app
/
ai.flowstorm.common.indexer
/
Elastic
Elastic
class
Elastic
Temporarily override Elastic class until Flowstorm update to Elastic version 8
Types
Constructors
Functions
Properties
Constructors
Elastic
Link copied to clipboard
fun
Elastic
(
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
get
By
Id
Link copied to clipboard
fun
getById
(
entityClass
:
KClass
<
out
Entity
>
,
id
:
String
,
size
:
Int
=
1
)
:
GetResponse
match
All
Query
Link copied to clipboard
fun
matchAllQuery
(
index
:
String
)
:
SearchResponse
match
Query
Link copied to clipboard
fun
matchQuery
(
index
:
String
,
queryString
:
String
)
:
SearchResponse
save
Link copied to clipboard
fun
save
(
jsonWriter
:
ObjectMapper
,
entity
:
Entity
,
includeDate
:
Boolean
=
true
)
save
All
Link copied to clipboard
fun
saveAll
(
jsonWriter
:
ObjectMapper
,
entities
:
List
<
Entity
>
,
includeDate
:
Boolean
=
true
)
:
BulkResponse
?
update
By
Id
Link copied to clipboard
fun
updateById
(
entityClass
:
KClass
<
out
Entity
>
,
id
:
String
,
updateString
:
String
)
Properties
config
Link copied to clipboard
@
Inject
lateinit
var
config
:
Config