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
Get a reference to the database and for search and JSON commands.
208
+
Create some test data to add to the database:
211
209
212
-
```csharp
213
-
vardb=redis.GetDatabase();
214
-
varft=db.FT();
215
-
varjson=db.JSON();
216
-
```
210
+
{{< clients-example cs_home_json create_data >}}
211
+
{{< /clients-example >}}
217
212
218
-
Let's create some test data to add to your database.
213
+
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/" >}}).
Create an index. In this example, all JSON documents with the key prefix `user:` are indexed. For more information, see [Query syntax]({{< relref "/develop/interact/search-and-query/query/" >}}).
226
+
You can now use the index to search the JSON objects. The
1. On the **Databases** screen, select **Quick database**.
2
+
3
+
{{<imagefilename="images/rs/screenshots/databases/db-screen.png"alt="Select Quick database on the Databases screen." >}}
4
+
5
+
1. Enter 12000 for the **Port**.
6
+
7
+
If port 12000 is not available, enter any available port number between 10000 to 19999 or leave it blank to let the cluster assign a port number for you. You will use this port number to connect to the database.
8
+
9
+
{{<imagefilename="images/rs/screenshots/databases/quick-db-7-8-2.png"alt="Create a quick database." >}}
10
+
11
+
1. Select **Create** to create your database.
12
+
13
+
When you see **Database active** appear on the database configuration screen, the database is activated and ready for you to use.
14
+
15
+
{{<imagefilename="images/rs/icons/db-active-icon.png"width="150px"alt="Database active icon." >}}
0 commit comments