You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-4
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,5 @@
1
1
# Redis Docs
2
2
3
-
OPEN SOURCE LICENSE VS. TRADEMARKS. The three-clause BSD license gives you the right to redistribute and use the software in source and binary forms, with or without modification, under certain conditions. However, open source licenses like the three-clause BSD license do not address trademarks. For further details please read the [Redis Trademark Policy](https://redis.io/legal/trademark-policy/)."
4
-
5
-
## A note for Issue and PR submitters
6
-
7
3
PRs are merged first to the `main` branch of this repo.
8
4
Periodically, the docs team will merge `main` into `latest`, which will make the changes visible on the docs site.
9
5
Please be patient, as there may be a lag of several days before `main` is merged into `latest`. If you want to see your changes before they're merged to `latest`, you can see them on https://redis.io/docs/staging/dev/.
| <spantitle="Supported">✅ Standard</span><br /><spantitle="Supported"><nobr>✅ Active-Active</nobr></span> | <spantitle="Supported">✅ Standard</span><br /><spantitle="Supported"><nobr>✅ Active-Active</nobr></span> | In Redis Enterprise, `INFO` returns a different set of fields than Redis Community Edition.<br />Not supported for [scripts]({{<relref "/develop/interact/programmability">}}). |
605
+
| <spantitle="Supported">✅ Standard</span><br /><spantitle="Supported"><nobr>✅ Active-Active</nobr></span> | <spantitle="Supported">✅ Standard</span><br /><spantitle="Supported"><nobr>✅ Active-Active</nobr></span> | In Redis Enterprise, `INFO` returns a different set of fields than Redis Open Source.<br />Not supported for [scripts]({{<relref "/develop/interact/programmability">}}). |
606
606
607
607
Note: key memory usage is different on Redis Software or Redis Cloud active-active databases than on non-active-active databases. This is because memory usage includes some amount of CRDB overhead.
Copy file name to clipboardExpand all lines: content/develop/clients/_index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -57,8 +57,8 @@ Redis does not document directly:
57
57
## Requirements
58
58
59
59
You will need access to a Redis server to use these libraries.
60
-
You can experiment with a local installation of Redis Community Edition
61
-
(see [Install Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}})) or with a free trial of [Redis Cloud]({{< relref "/operate/rc" >}}).
60
+
You can experiment with a local installation of Redis Open Source
61
+
(see [Install Redis Open Source]({{< relref "/operate/oss_and_stack/install/install-stack/" >}})) or with a free trial of [Redis Cloud]({{< relref "/operate/rc" >}}).
62
62
To interact with a Redis server without writing code, use the
63
63
[Redis CLI]({{< relref "/develop/tools/cli" >}}) and
Copy file name to clipboardExpand all lines: content/develop/clients/dotnet/_index.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ weight: 3
20
20
The sections below explain how to install `NRedisStack` and connect your application
21
21
to a Redis database.
22
22
23
-
`NRedisStack` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server. See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation instructions.
23
+
`NRedisStack` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
24
24
25
25
You can also access Redis with an object-mapping client interface. See
26
26
[Redis OM for .NET]({{< relref "/integrate/redisom-for-net" >}})
for [JSON]({{< relref "/develop/data-types/json" >}}) data and
21
-
run queries against the index.
20
+
for [JSON]({{< relref "/develop/data-types/json" >}}) documents and
21
+
run queries against the index. It then goes on to show the slight differences
22
+
in the equivalent code for [hash]({{< relref "/develop/data-types/hashes" >}})
23
+
documents.
22
24
23
-
Make sure that you have Redis Community Edition and `NRedisStack` installed.
25
+
## Initialize
24
26
25
-
Start by importing dependencies:
27
+
Make sure that you have [Redis Open Source]({{< relref "/operate/oss_and_stack" >}})
28
+
or another Redis server available. Also install the
29
+
[`NRedisStack`]({{< relref "/develop/clients/dotnet" >}}) client library if you
30
+
haven't already done so.
31
+
32
+
Add the following dependencies:
26
33
27
34
{{< clients-example cs_home_json import >}}
28
35
{{< /clients-example >}}
29
36
30
-
Connect to the database:
31
-
32
-
{{< clients-example cs_home_json connect >}}
33
-
{{< /clients-example >}}
37
+
## Create data
34
38
35
39
Create some test data to add to the database:
36
40
37
41
{{< clients-example cs_home_json create_data >}}
38
42
{{< /clients-example >}}
39
43
44
+
## Add the index
45
+
46
+
Connect to your Redis database. The code below shows the most
47
+
basic connection but see
48
+
[Connect to the server]({{< relref "/develop/clients/dotnet/connect" >}})
49
+
to learn more about the available connection options.
50
+
51
+
{{< clients-example cs_home_json connect >}}
52
+
{{< /clients-example >}}
53
+
40
54
Create an index. In this example, only JSON documents with the key prefix `user:` are indexed. For more information, see [Query syntax]({{< relref "/develop/interact/search-and-query/query/" >}}).
41
55
42
56
{{< clients-example cs_home_json make_index >}}
43
57
{{< /clients-example >}}
44
58
59
+
## Add the data
60
+
45
61
Add the three sets of user data to the database as
Copy file name to clipboardExpand all lines: content/develop/clients/go/_index.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,7 @@ weight: 7
19
19
[`go-redis`](https://github.com/redis/go-redis) is the [Go](https://go.dev/) client for Redis.
20
20
The sections below explain how to install `go-redis` and connect your application to a Redis database.
21
21
22
-
`go-redis` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server.
23
-
See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation
24
-
instructions.
22
+
`go-redis` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
Copy file name to clipboardExpand all lines: content/develop/clients/lettuce/_index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ If you only need synchronous connections then you may find the other Java client
24
24
The sections below explain how to install `Lettuce` and connect your application
25
25
to a Redis database.
26
26
27
-
`Lettuce` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server. See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation instructions.
27
+
`Lettuce` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
Copy file name to clipboardExpand all lines: content/develop/clients/nodejs/_index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ weight: 4
20
20
The sections below explain how to install `node-redis` and connect your application
21
21
to a Redis database.
22
22
23
-
`node-redis` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server. See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation instructions.
23
+
`node-redis` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
24
24
25
25
You can also access Redis with an object-mapping client interface. See
26
26
[RedisOM for Node.js]({{< relref "/integrate/redisom-for-node-js" >}})
Copy file name to clipboardExpand all lines: content/develop/clients/om-clients/_index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@ categories:
10
10
- oss
11
11
- kubernetes
12
12
- clients
13
-
description: Object-Mapper libraries for Redis Community Edition
13
+
description: Object-Mapper libraries for Redis Open Source
14
14
linkTitle: Object mapping
15
15
stack: true
16
16
title: Object-Mapper libraries
17
17
weight: 20
18
18
---
19
19
20
-
Redis OM (pronounced *REDiss OHM*) is a library that provides object mapping for Redis. With the help of Redis OM, you can map Redis data types, specifically Hashes and JSON documents, to objects of your preferred programming language or framework. Redis OM relies on the JSON and Redis Query Engine features of Redis Community Edition, allowing you to search and/or query for objects.
20
+
Redis OM (pronounced *REDiss OHM*) is a library that provides object mapping for Redis. With the help of Redis OM, you can map Redis data types, specifically Hashes and JSON documents, to objects of your preferred programming language or framework. Redis OM relies on the JSON and Redis Query Engine features of Redis Open Source, allowing you to search and/or query for objects.
21
21
22
22
You can use Redis OM with the following four programming languages:
Copy file name to clipboardExpand all lines: content/develop/clients/php/_index.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,7 @@ The sections below explain how to install `Predis` and connect your application
24
24
client library and is not developed or supported directly by Redis.
25
25
{{< /note >}}
26
26
27
-
`Predis` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server.
28
-
See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation
29
-
instructions.
27
+
`Predis` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
Copy file name to clipboardExpand all lines: content/develop/clients/redis-py/_index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ weight: 1
20
20
The sections below explain how to install `redis-py` and connect your application
21
21
to a Redis database.
22
22
23
-
`redis-py` requires a running [Redis Community Edition]({{< relref "/operate/oss_and_stack/install/install-stack/" >}}) server. See [Getting started]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis installation instructions.
23
+
`redis-py` requires a running Redis server. See [here]({{< relref "/operate/oss_and_stack/install/" >}}) for Redis Open Source installation instructions.
24
24
25
25
You can also access Redis with an object-mapping client interface. See
26
26
[RedisOM for Python]({{< relref "/integrate/redisom-for-python" >}})
@@ -238,4 +219,3 @@ To extend the features provided by the included data types, use one of these opt
238
219
239
220
1. Write your own custom [server-side functions in Lua]({{< relref "/develop/interact/programmability/" >}}).
240
221
1. Write your own Redis module using the [modules API]({{< relref "/develop/reference/modules/" >}}) or check out the [community-supported modules]({{< relref "/operate/oss_and_stack/stack-with-enterprise/" >}}).
241
-
1. Use [JSON]({{< relref "/develop/data-types/json/" >}}), [search]({{< relref "/develop/interact/search-and-query/" >}}), [time series]({{< relref "/develop/data-types/timeseries/" >}}), and other capabilities provided by [Redis Community Edition]({{< relref "/operate/oss_and_stack/" >}}).
0 commit comments