#Lettuce redisearch

5 messages · Page 1 of 1 (latest)

turbid stirrup
#

I saw there was an update to include redisearch in newest release (6.8.0) of lettuce but redis-search user-guide does not seem to match with the data structures given the release. I wanted to know if there was a way to get to work with string codec following the example though slightly different structure using string codec knn did not provide any results

tender pike
#

Hey @turbid stirrup , apologies for the inaccuracies in the JavaDoc, we are trying to address them one by one. Are you talking about the Vector Similarity Search?

There are some (working) examples in the https://github.com/redis/lettuce/blob/6350ce1175993d21169b3d38f9115d051a3cc083/src/test/java/io/lettuce/core/search/RediSearchVectorIntegrationTests.java#L502 but the major problem here is that if you use a String codec it might be quite hard to encode the vectors themselves. Does your use case require using only the StringCodec?

GitHub

Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs. - redis/lettuce

tender pike
turbid stirrup
#

Thank you!

#

The examples you sent were sufficient!