From 2e09234b689b2156b94013f62900f6ee32f1e1e5 Mon Sep 17 00:00:00 2001 From: Mahmoud Harmouch Date: Thu, 8 Sep 2022 13:56:31 +0300 Subject: [PATCH] fix broken links (#348) Signed-off-by: wiseaidev Signed-off-by: wiseaidev --- README.md | 4 ++-- aredis_om/model/token_escaper.py | 2 +- docs/getting_started.md | 4 ++-- docs/redis_modules.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e8637de..01c4cce 100644 --- a/README.md +++ b/README.md @@ -382,8 +382,8 @@ Redis OM uses the [MIT license][license-url]. [redis-om-js]: https://github.com/redis-om/redis-om-js [redis-om-dotnet]: https://github.com/redis-om/redis-om-dotnet [redis-om-spring]: https://github.com/redis-om/redis-om-spring -[redisearch-url]: https://oss.redis.com/redisearch/ -[redis-json-url]: https://oss.redis.com/redisjson/ +[redisearch-url]: https://redis.io/docs/stack/search/ +[redis-json-url]: https://redis.io/docs/stack/json/ [pydantic-url]: https://github.com/samuelcolvin/pydantic [ulid-url]: https://github.com/ulid/spec [redis-enterprise-url]: https://redis.com/try-free/ diff --git a/aredis_om/model/token_escaper.py b/aredis_om/model/token_escaper.py index 84cac0c..9c4b556 100644 --- a/aredis_om/model/token_escaper.py +++ b/aredis_om/model/token_escaper.py @@ -8,7 +8,7 @@ class TokenEscaper: """ # Characters that RediSearch requires us to escape during queries. - # Source: https://oss.redis.com/redisearch/Escaping/#the_rules_of_text_field_tokenization + # Source: https://redis.io/docs/stack/search/reference/escaping/#the-rules-of-text-field-tokenization DEFAULT_ESCAPED_CHARS = r"[,.<>{}\[\]\\\"\':;!@#$%^&*()\-+=~\ ]" def __init__(self, escape_chars_re: Optional[Pattern] = None): diff --git a/docs/getting_started.md b/docs/getting_started.md index 4c14f7e..d091f66 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -744,6 +744,6 @@ If you're a FastAPI user, check out [how to integrate Redis OM with FastAPI](htt -[redisearch-url]: https://oss.redis.com/redisearch/ -[redis-json-url]: https://oss.redis.com/redisjson/ +[redisearch-url]: https://redis.io/docs/stack/search/ +[redis-json-url]: https://redis.io/docs/stack/json/ [pydantic-url]: https://github.com/samuelcolvin/pydantic diff --git a/docs/redis_modules.md b/docs/redis_modules.md index db60c4e..c86723f 100644 --- a/docs/redis_modules.md +++ b/docs/redis_modules.md @@ -22,8 +22,8 @@ So, what won't work without these modules? You can use RediSearch and RedisJSON with your self-hosted Redis deployment. Just follow the instructions on installing the binary versions of the modules in their Quick Start Guides: -- [RedisJSON Quick Start - Running Binaries](https://oss.redis.com/redisjson/#download-and-running-binaries) -- [RediSearch Quick Start - Running Binaries](https://oss.redis.com/redisearch/Quick_Start/#download_and_running_binaries) +- [RedisJSON Quick Start - Running Binaries](https://redis.io/docs/stack/json/) +- [RediSearch Quick Start - Running Binaries](https://redis.io/docs/stack/search/quick_start/) **NOTE**: Both of these modules' Quick Start Guides also have instructions on how to run the modules in Redis with Docker.