1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Commit Graph

97 Commits

Author SHA1 Message Date
Leibale Eidelman
b835309cf8 fix cross packages imports 2024-11-04 12:21:17 -05:00
Shaya Potter
4708736f3b new "transform arguments" API for better key and metadata extraction (#2733)
* Parser support with all commands

* remove "dist" from all imports for consistency

* address most of my review comments

* small tweak to multi type mapping handling

* tweak multi commands / fix addScript cases

* nits

* addressed all in person review comments

* revert addCommand/addScript changes to multi-commands

addCommand needs to be there for sendCommand like ability within a multi.

If its there, it might as well be used by createCommand() et al, to avoid repeating code.

addScript is there (even though only used once), but now made private to keep the logic for bookkeeping near each other.
2024-10-31 12:16:59 -04:00
dmaier-redislabs
d3e720ffbd Release search@5.0.0-next.5 2024-10-15 17:43:16 +02:00
dmaier-redislabs
c0a418140e Updated the Search package to use client@5.0.0-next.5 2024-10-15 17:42:24 +02:00
Shaya Potter
b2d35c5286 V5 bringing RESP3, Sentinel and TypeMapping to node-redis
RESP3 Support
   - Some commands responses in RESP3 aren't stable yet and therefore return an "untyped" ReplyUnion.
 
Sentinel

TypeMapping

Correctly types Multi commands

Note: some API changes to be further documented in v4-to-v5.md
2024-10-15 17:46:52 +03:00
Leibale
fff7b006c3 Release search@1.2.0 2024-07-29 10:25:26 -04:00
Shaya Potter
840ec57fb9 small refactor per discussion with leibele (#2801)
* small refactor per discussion with leibele

* move true type to boolean type

* fix geoshape to support NOINDEX & SORTABLE, clean code

* fix for last commit

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-07-29 09:27:53 -04:00
Shaya Potter
54b3e178f9 add addscores to aggregate search command (#2799)
* add addscores to aggregate search command

* change `true` to `boolean`

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2024-07-29 09:22:38 -04:00
Shaya Potter
0e7e2e6e29 add missing fields support to schema (v4) (#2789) 2024-07-17 11:36:45 +03:00
Shaya Potter
a1bee1caaf add geoshape support (#2788)
copied from what leibele did for v5
2024-07-10 19:45:17 +03:00
Leibale
a227cb0cef Release search@1.1.6 2023-11-20 13:49:13 -05:00
Savvas Papageorgiadis
0ee3278085 chore(search): export languages (#2651) 2023-11-20 13:41:44 -05:00
Leibale
3862fd2e9f Release search@1.1.5 2023-09-22 07:03:00 -04:00
Leibale
6cc635cb93 Release search@1.1.4 2023-09-19 17:54:58 -04:00
Brett Burch
a217cc1a88 Add support for FT.SEARCH NOCONTENT (#2610)
* Add support for NOCONTENT in FT.SEARCH

* Move support for NOCONTENT search option from client.search to client.searchNoContent

* Add test for SEARCH_NOCONTENT#transformReply

* Fix typo

* Enable test

* Update test field type

---------

Co-authored-by: Leibale <me@leibale.com>
2023-09-18 18:33:17 -04:00
Leibale
4976231f24 upgrade deps, remove node 14 & 16 from tests matrix 2023-09-18 17:23:01 -04:00
Leibale
fe74e322dd upgrade deps 2023-08-23 14:53:26 -04:00
alphabetkrish
b58833b6ea fix #2569 - fix @redis/search README 2023-07-20 16:09:35 -04:00
Leibale
99c7cd7c55 Release search@1.1.3 2023-05-31 15:44:12 +03:00
Leibale Eidelman
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
fast-facts
85091cde5a Add count option to FT.CURSOR READ (#2492)
* feat: Add count option to FT.CURSOR READ

* Update CURSOR_READ.spec.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-05-21 08:08:27 -04:00
Nanak
8d37c115e6 Add support for TIMEOUT in FT.AGGREGATE and FT.SEARCH (#2488)
* #2486: add timeout as optional param in FT.Search

* return timeout from aggregate

* add test case for TIMEOUT in aggregate

* add TIMEOUT option in search file

* add test cases for TIMEOUT option in search file

* uodate search/aggregates to add timeout when it is not undefuned

* update search to add timeout when it is not undefuned

* update test case for AGGREGATE
2023-05-21 08:01:17 -04:00
Gady
c88dea6151 Augment subpackages npm info (#2478)
* augment subpackages npm info

* some more keywords

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-24 12:41:44 -04:00
Leibale Eidelman
d65a641b2d revert 1d8302c9db 2023-03-17 09:52:30 -04:00
Carl Hopf
1d8302c9db FT.CREATE - set FIRST_KEY_INDEX to 1 (#2440) 2023-03-14 12:37:13 -04:00
Leibale
f0794ece01 Release search@1.1.2 2023-02-24 18:07:31 -05:00
Leibale Eidelman
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00
Leibale Eidelman
26e057ebf9 fix FT.SEARCH RETURN [] (#2421)
* ref #2419 - fix FT.SEARCH RETURN []

* fix transformReply

* fix PROFILE SEARCH as well

* fix PROFILE SEARCH preserve

* move preserve login to `pushSearchOptions`

* attach preserve only if true

* fix RETURN: [] test
2023-02-24 17:33:33 -05:00
Leibale
f3ed246ff8 Release search@1.1.1 2023-01-25 13:19:21 -05:00
Leibale Eidelman
0a46fcbdaf upgrade dependencies (#2381)
* upgrade deps

* upgrade dependencies

* fix v3 benchmark

* update package-lock.json
2023-01-25 13:05:42 -05:00
Leibale Eidelman
a1dfa22517 fix #2364 - fix FT.SEARCH RETURN [] (#2366)
* fix #2364 - fix FT.SEARCH RETURN []

* remove console.log
2023-01-18 12:54:42 -05:00
Leibale Eidelman
c5b6f77c33 exclude dist from coverage report 2022-12-26 13:35:37 -05:00
Leibale Eidelman
9dccd9a678 Update README.md 2022-12-26 05:22:01 -05:00
Leibale Eidelman
ce1b8f7f4e ref #1982 - fix redisearch schema types (#2348) 2022-12-14 17:11:28 -05:00
Vladimir Chuprazov
ab69c81c36 fix(search): fix types for sort (#2343) 2022-12-14 17:03:30 -05:00
Leibale Eidelman
29f734f60e upgrade dependencies (#2306) 2022-10-26 14:47:10 -04:00
leibale
3c3914adb8 Release search@1.1.0 2022-08-22 18:32:13 -04:00
Leibale Eidelman
35be671332 upgrade dependencies (#2242) 2022-08-22 18:23:43 -04:00
Leibale Eidelman
1fdee05dd2 close #2166 - add support for cursor api (#2217) 2022-08-15 08:40:03 -04:00
Leibale Eidelman
60ad6aab0b close #2210 - add support for FT.CREATE WITHSUFFIXTRIE (#2212) 2022-07-28 13:29:57 -04:00
leibale
9ffc30c727 upgrade deps 2022-07-05 11:42:43 -04:00
Leibale Eidelman
6a850d36ae upgrade deps, fix "invalid save argument" error (#2174) 2022-06-30 13:07:29 -04:00
leibale
ffc12344f5 Release search@1.0.6 2022-05-02 11:57:42 -04:00
Leibale Eidelman
0752f143a6 prepare 4.1.0 (#2111)
* increase test coverage

* @node-redis to @redis

* ugprade deps

* fix benchmark

* use 7.0 docker (not rc), update readmes, clean code, fix @-redis import

* update readme

* fix function in cluster

* update docs

Co-authored-by: Chayim <chayim@users.noreply.github.com>

* Update clustering.md

* add subpackages move warning

* drop support for node 12

* upgrade deps

* fix tsconfig.base.json

Co-authored-by: Chayim <chayim@users.noreply.github.com>
2022-05-02 11:48:12 -04:00
Leibale Eidelman
432a7e3ebb upgrade deps (#2098) 2022-04-25 16:42:20 -04:00
Leibale Eidelman
79ee8f2029 upgrade dependencies (#2081) 2022-04-18 12:29:01 -04:00
Leibale Eidelman
4d1a86543b remove console.log (#2083) 2022-04-18 12:28:36 -04:00
Leibale Eidelman
d8e9da0f8e support for buffers in redisearch params (#2073) 2022-04-06 05:33:50 -04:00
Leibale Eidelman
0f65690e85 Remove console.log (#2068) 2022-04-03 10:11:22 -04:00
leibale
9b8f72a63c Release search@1.0.5 2022-03-31 14:48:06 +03:00