Merge pull request #3 from rowantrollope/main

Adding more files to .gitignore and removing stray .rdb file
This commit is contained in:
Salvatore Sanfilippo 2025-02-27 09:25:56 +01:00 committed by GitHub
commit 6e09e05af5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ w2v
word2vec.bin
TODO
*.txt
*.rdb

View File

@ -27,8 +27,7 @@ The execute the tests with:
**VADD: add items into a vector set**
VADD key [REDUCE dim] FP32|VALUES vector element [CAS] [NOQUANT] [BIN] [Q8]
[EF build-exploration-factor]
VADD key [REDUCE dim] FP32|VALUES vector element [CAS] [NOQUANT | Q8 | BIN] [EF build-exploration-factor]
Add a new element into the vector set specified by the key.
The vector can be provided as FP32 blob of values, or as floating point

BIN
dump.rdb

Binary file not shown.

View File

@ -1 +1,2 @@
mpst_full_data.csv
partition.json

2
vset.c
View File

@ -459,7 +459,7 @@ int VADD_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) {
cas = 0;
/* Here depending on the CAS option we directly insert in a blocking
* way, or use a therad to do candidate neighbors selection and only
* way, or use a thread to do candidate neighbors selection and only
* later, in the reply callback, actually add the element. */
if (!cas) {