Replies: 2 comments 6 replies
-
This is what I got:
This may not be a Jedis specific issue. You may find better answer asking in RediSearch. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Some additional info I'm now creating an index as follows:
loading items in an hashset as follows with
Loading and indexing seems to work fine, but the query:
returns |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've recently come across HNSW and found out REDIS has added support to it. So instead of building an api that manages an HNSW index, I am thinking of just deploying a nice REDIS cluster and use their HNSW capabilities.
My vectors are float[] and the loading of the index, apparenlty, should be working fine as I'm using the
jsonSet
. So when I create the index, the data are loaded from the json, correctly deserialised into float32 and the index is built. Or at least that's what I think is happening.Now my problem is that I don't seem to be able to query the index.
This is my code:
In the tests I found:
https://github.com/redis/jedis/blob/master/src/test/java/redis/clients/jedis/modules/search/SearchTest.java#L440
That seem to be working for strings, bytes and floats (but not floatp[]?!)
Any suggestions would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions