mirror of https://mirror.osredm.com/root/redis.git
Merge pull request #3 from rowantrollope/main
Adding more files to .gitignore and removing stray .rdb file
This commit is contained in:
commit
6e09e05af5
|
@ -8,3 +8,4 @@ w2v
|
|||
word2vec.bin
|
||||
TODO
|
||||
*.txt
|
||||
*.rdb
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
mpst_full_data.csv
|
||||
partition.json
|
||||
|
|
2
vset.c
2
vset.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue