Commit 9b11c55
authored
[WIP] Added support for RediSearch v2.0 Index Definition (#81)
* [add] Included v1.4, v1.6 and latest in CI to ensure all changes are backwards compatible
* [fix] fixed tests per redisearch:edge
* [fix] fixed TestFilter per v1.4.28
* [add] v1.4 v1.6 and v2.0 working as expected on features present across versions
* [add] Added CreateIndexWithIndexDefinition
* [add] Added ExampleClient_CreateIndexWithIndexDefinition. Deprecated AddHash. Deprecated SynAdd.
* [add] increased coverage on SerializeIndexingOptions and IndexDefinition_Serialize
* [add] improved testing by indexing check
* [add] added TestClient_SynUpdate. TestClient_SynDump running on >= v2.0 also
* [fix] SynDump and SynUpdate tests working as expected on v1.4 and v1.61 parent 207c949 commit 9b11c55
File tree
13 files changed
+558
-102
lines changed- .circleci
- redisearch
13 files changed
+558
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
59 | 91 | | |
60 | 92 | | |
61 | 93 | | |
| |||
64 | 96 | | |
65 | 97 | | |
66 | 98 | | |
67 | | - | |
68 | 99 | | |
69 | 100 | | |
70 | 101 | | |
| |||
73 | 104 | | |
74 | 105 | | |
75 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
76 | 110 | | |
77 | 111 | | |
78 | 112 | | |
| |||
83 | 117 | | |
84 | 118 | | |
85 | 119 | | |
86 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
100 | | - | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
51 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
52 | 66 | | |
53 | | - | |
| 67 | + | |
54 | 68 | | |
55 | 69 | | |
56 | 70 | | |
57 | | - | |
58 | 71 | | |
59 | 72 | | |
60 | 73 | | |
61 | | - | |
| 74 | + | |
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
| |||
340 | 353 | | |
341 | 354 | | |
342 | 355 | | |
343 | | - | |
| 356 | + | |
344 | 357 | | |
345 | 358 | | |
346 | 359 | | |
| |||
380 | 393 | | |
381 | 394 | | |
382 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
383 | 403 | | |
384 | 404 | | |
385 | 405 | | |
| |||
554 | 574 | | |
555 | 575 | | |
556 | 576 | | |
| 577 | + | |
557 | 578 | | |
558 | 579 | | |
559 | 580 | | |
| |||
562 | 583 | | |
563 | 584 | | |
564 | 585 | | |
565 | | - | |
| 586 | + | |
566 | 587 | | |
567 | 588 | | |
568 | 589 | | |
| |||
600 | 621 | | |
601 | 622 | | |
602 | 623 | | |
| 624 | + | |
| 625 | + | |
603 | 626 | | |
604 | 627 | | |
605 | 628 | | |
| |||
0 commit comments