(agent-client host port)
Open channel and returns Vald agent client instance.
Open channel and returns Vald agent client instance.
A protocol for Vald client.
A protocol for Vald client.
(stream-insert this f config vectors)
Stream insert with vectors
.
f
will be applied to each responses.
Stream insert with `vectors`. `f` will be applied to each responses.
(stream-search this f config vectors)
Stream search with vectors
.
f
will be applied to each responses.
Stream search with `vectors`. `f` will be applied to each responses.
(exists this id)
Check whether id
exists or not.
Check whether `id` exists or not.
(index-info this)
Fetch index info. This functionality is only for Agents.
Fetch index info. This functionality is only for Agents.
(insert this config id vector)
Insert id
and vector
pair.
Insert `id` and `vector` pair.
(remove-id this config id)
Remove id
.
Remove `id`.
(stream-search-by-id this f config ids)
Stream search with ids
f
will be applied to each responses.
Stream search with `ids` `f` will be applied to each responses.
(stream-update this f config vectors)
Stream update with vectors
.
f
will be applied to each responses.
Stream update with `vectors`. `f` will be applied to each responses.
(multi-update this config vectors)
Multi update with vectors
.
Multi update with `vectors`.
(search-by-id this config id)
Search with id
.
Search with `id`.
(multi-insert this config vectors)
Multi insert with vectors
.
Multi insert with `vectors`.
(save-index this)
Call save-index command. This functionality is only for Agents.
Call save-index command. This functionality is only for Agents.
(update this config id vector)
Update id
and vector
pair.
Update `id` and `vector` pair.
(multi-upsert this config vectors)
Multi upsert with vectors
.
Multi upsert with `vectors`.
(search this config vector)
Search with vector
.
Search with `vector`.
(close this)
Close channel.
Close channel.
(stream-upsert this f config vectors)
Stream upsert with vectors
.
f
will be applied to each responses.
Stream upsert with `vectors`. `f` will be applied to each responses.
(multi-remove this config ids)
Multi remove with ids
.
Multi remove with `ids`.
(stream-remove this f config ids)
Stream remove with ids
.
f
will be applied to each responses.
Stream remove with `ids`. `f` will be applied to each responses.
(create-and-save-index this pool-size)
Call create-and-save-index command. This functionality is only for Agents.
Call create-and-save-index command. This functionality is only for Agents.
(create-index this pool-size)
Call create-index command. This functionality is only for Agents.
Call create-index command. This functionality is only for Agents.
(get-object this id)
Get object with id
.
Get object with `id`.
(stream-get-object this f ids)
Stream get object with ids
.
f
will be applied to each responses.
Stream get object with `ids`. `f` will be applied to each responses.
(upsert this config id vector)
Upsert id
and vector
pair.
Upsert `id` and `vector` pair.
(vald-client host port)
Open channel and returns Vald gateway client instance.
Open channel and returns Vald gateway client instance.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close