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
|
word2vec.bin
|
||||||
TODO
|
TODO
|
||||||
*.txt
|
*.txt
|
||||||
|
*.rdb
|
||||||
|
|
|
@ -27,8 +27,7 @@ The execute the tests with:
|
||||||
|
|
||||||
**VADD: add items into a vector set**
|
**VADD: add items into a vector set**
|
||||||
|
|
||||||
VADD key [REDUCE dim] FP32|VALUES vector element [CAS] [NOQUANT] [BIN] [Q8]
|
VADD key [REDUCE dim] FP32|VALUES vector element [CAS] [NOQUANT | Q8 | BIN] [EF build-exploration-factor]
|
||||||
[EF build-exploration-factor]
|
|
||||||
|
|
||||||
Add a new element into the vector set specified by the key.
|
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
|
The vector can be provided as FP32 blob of values, or as floating point
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
mpst_full_data.csv
|
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;
|
cas = 0;
|
||||||
|
|
||||||
/* Here depending on the CAS option we directly insert in a blocking
|
/* 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. */
|
* later, in the reply callback, actually add the element. */
|
||||||
|
|
||||||
if (!cas) {
|
if (!cas) {
|
||||||
|
|
Loading…
Reference in New Issue