| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
| io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
| io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
| io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
| io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
| Modifier and Type | Method and Description |
|---|---|
VSimArgs |
VSimArgs.count(Long count)
Set the number of results to return.
|
static VSimArgs |
VSimArgs.Builder.count(Long count)
Creates new
VSimArgs and setting COUNT. |
VSimArgs |
VSimArgs.epsilon(double delta)
Sets the EPSILON distance cutoff for approximate vector similarity matching; results must have similarity ≥ 1 − epsilon.
|
VSimArgs |
VSimArgs.explorationFactor(Long explorationFactor)
Set the exploration factor for the vector search.
|
static VSimArgs |
VSimArgs.Builder.explorationFactor(Long explorationFactor)
Creates new
VSimArgs and setting EF. |
VSimArgs |
VSimArgs.filter(String filter)
Set the filter expression to apply.
|
static VSimArgs |
VSimArgs.Builder.filter(String filter)
Creates new
VSimArgs and setting FILTER. |
VSimArgs |
VSimArgs.filterEfficiency(Long filterEfficiency)
Set the filter efficiency to use.
|
static VSimArgs |
VSimArgs.Builder.filterEfficiency(Long filterEfficiency)
Creates new
VSimArgs and setting FILTER-EF. |
VSimArgs |
VSimArgs.noThread()
Disable threading for the vector search.
|
static VSimArgs |
VSimArgs.Builder.noThread()
Creates new
VSimArgs and setting NOTHREAD. |
VSimArgs |
VSimArgs.noThread(boolean noThread)
Enable or disable threading for the vector search.
|
VSimArgs |
VSimArgs.truth()
Enable truth mode for the vector search.
|
static VSimArgs |
VSimArgs.Builder.truth()
Creates new
VSimArgs and setting TRUTH. |
VSimArgs |
VSimArgs.truth(boolean truth)
Enable or disable truth mode for the vector search.
|
| Modifier and Type | Method and Description |
|---|---|
Flux<V> |
AbstractRedisReactiveCommands.vsim(K key,
VSimArgs args,
Double... vectors) |
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.vsim(K key,
VSimArgs args,
Double... vectors) |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
VSimArgs vSimArgs,
Double[] vectors)
Create a new
VSIM command to find the most similar vectors to the given query vector in a vector set with
additional options. |
Flux<V> |
AbstractRedisReactiveCommands.vsim(K key,
VSimArgs args,
V element) |
Command<K,V,List<V>> |
RedisVectorSetCommandBuilder.vsim(K key,
VSimArgs vSimArgs,
V element)
Create a new
VSIM command to find the most similar vectors to the given element's vector in a vector set with
additional options. |
RedisFuture<List<V>> |
AbstractRedisAsyncCommands.vsim(K key,
VSimArgs args,
V element) |
Mono<Map<V,Double>> |
AbstractRedisReactiveCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors) |
RedisFuture<Map<V,Double>> |
AbstractRedisAsyncCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors) |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
VSimArgs vSimArgs,
Double[] vectors)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given query vector
with additional options and return them with their similarity scores. |
Mono<Map<V,Double>> |
AbstractRedisReactiveCommands.vsimWithScore(K key,
VSimArgs args,
V element) |
Command<K,V,Map<V,Double>> |
RedisVectorSetCommandBuilder.vsimWithScore(K key,
VSimArgs vSimArgs,
V element)
Create a new
VSIM command with the WITHSCORES option to find the most similar vectors to the given element's
vector with additional options and return them with their similarity scores. |
RedisFuture<Map<V,Double>> |
AbstractRedisAsyncCommands.vsimWithScore(K key,
VSimArgs args,
V element) |
Mono<Map<V,VSimScoreAttribs>> |
AbstractRedisReactiveCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors) |
RedisFuture<Map<V,VSimScoreAttribs>> |
AbstractRedisAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors) |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
VSimArgs vSimArgs,
Double[] vectors) |
Mono<Map<V,VSimScoreAttribs>> |
AbstractRedisReactiveCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element) |
Command<K,V,Map<V,VSimScoreAttribs>> |
RedisVectorSetCommandBuilder.vsimWithScoreWithAttribs(K key,
VSimArgs vSimArgs,
V element) |
RedisFuture<Map<V,VSimScoreAttribs>> |
AbstractRedisAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element) |
| Modifier and Type | Method and Description |
|---|---|
RedisFuture<List<V>> |
RedisVectorSetAsyncCommands.vsim(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options. |
RedisFuture<List<V>> |
RedisVectorSetAsyncCommands.vsim(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options. |
RedisFuture<Map<V,Double>> |
RedisVectorSetAsyncCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores. |
RedisFuture<Map<V,Double>> |
RedisVectorSetAsyncCommands.vsimWithScore(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores. |
RedisFuture<Map<V,VSimScoreAttribs>> |
RedisVectorSetAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores and attributes. |
RedisFuture<Map<V,VSimScoreAttribs>> |
RedisVectorSetAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores and attributes. |
| Modifier and Type | Method and Description |
|---|---|
Flux<V> |
RedisVectorSetReactiveCommands.vsim(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options. |
Flux<V> |
RedisVectorSetReactiveCommands.vsim(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options. |
Mono<Map<V,Double>> |
RedisVectorSetReactiveCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores. |
Mono<Map<V,Double>> |
RedisVectorSetReactiveCommands.vsimWithScore(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores. |
Mono<Map<V,VSimScoreAttribs>> |
RedisVectorSetReactiveCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores and attributes. |
Mono<Map<V,VSimScoreAttribs>> |
RedisVectorSetReactiveCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores and attributes. |
| Modifier and Type | Method and Description |
|---|---|
List<V> |
RedisVectorSetCommands.vsim(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options. |
List<V> |
RedisVectorSetCommands.vsim(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options. |
Map<V,Double> |
RedisVectorSetCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores. |
Map<V,Double> |
RedisVectorSetCommands.vsimWithScore(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores. |
Map<V,VSimScoreAttribs> |
RedisVectorSetCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores and attributes. |
Map<V,VSimScoreAttribs> |
RedisVectorSetCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores and attributes. |
| Modifier and Type | Method and Description |
|---|---|
AsyncExecutions<List<V>> |
NodeSelectionVectorSetAsyncCommands.vsim(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options. |
AsyncExecutions<List<V>> |
NodeSelectionVectorSetAsyncCommands.vsim(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options. |
AsyncExecutions<Map<V,Double>> |
NodeSelectionVectorSetAsyncCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores. |
AsyncExecutions<Map<V,Double>> |
NodeSelectionVectorSetAsyncCommands.vsimWithScore(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores. |
AsyncExecutions<Map<V,VSimScoreAttribs>> |
NodeSelectionVectorSetAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores and attributes. |
AsyncExecutions<Map<V,VSimScoreAttribs>> |
NodeSelectionVectorSetAsyncCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores and attributes. |
| Modifier and Type | Method and Description |
|---|---|
Executions<List<V>> |
NodeSelectionVectorSetCommands.vsim(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options. |
Executions<List<V>> |
NodeSelectionVectorSetCommands.vsim(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options. |
Executions<Map<V,Double>> |
NodeSelectionVectorSetCommands.vsimWithScore(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores. |
Executions<Map<V,Double>> |
NodeSelectionVectorSetCommands.vsimWithScore(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores. |
Executions<Map<V,VSimScoreAttribs>> |
NodeSelectionVectorSetCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
Double... vectors)
Finds the most similar vectors to the given query vector in the vector set stored at
key with additional options
and returns them with their similarity scores and attributes. |
Executions<Map<V,VSimScoreAttribs>> |
NodeSelectionVectorSetCommands.vsimWithScoreWithAttribs(K key,
VSimArgs args,
V element)
Finds the most similar vectors to the given element's vector in the vector set stored at
key with additional
options and returns them with their similarity scores and attributes. |
Copyright © 2025 lettuce.io. All rights reserved.