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
read_size] [MAXIDLE\_idle_time]] [PARAMS nargs name value [name value ...]] [ADDSCORES] [DIALECT\_\
203
+
read_size] [MAXIDLE\_idle_time]] [PARAMS nargs name value [name value ...]] [SCORER scorer] [ADDSCORES] [DIALECT\_\
195
204
dialect]"
196
205
title: FT.AGGREGATE
197
206
---
@@ -316,6 +325,12 @@ defines one or more value parameters. Each parameter has a name and a value.
316
325
You can reference parameters in the `query` by a `$`, followed by the parameter name, for example, `$user`. Each such reference in the search query to a parameter name is substituted by the corresponding parameter value. For example, with parameter definition `PARAMS 4 lon 29.69465 lat 34.95126`, the expression `@loc:[$lon $lat 10 km]` is evaluated to `@loc:[29.69465 34.95126 10 km]`. You cannot reference parameters in the query string where concrete values are not allowed, such as in field names, for example, `@loc`. To use `PARAMS`, set `DIALECT` to `2` or greater than `2`.
317
326
</details>
318
327
328
+
<detailsopen>
329
+
<summary><code>SCORER {scorer}</code></summary>
330
+
331
+
uses a [built-in]({{< relref "/develop/interact/search-and-query/advanced-concepts/scoring" >}}) or a [user-provided]({{< relref "/develop/interact/search-and-query/administration/extensions" >}}) scoring function.
Copy file name to clipboardExpand all lines: content/operate/kubernetes/re-databases/replica-redb.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,19 +11,19 @@ weight: 42
11
11
---
12
12
13
13
You can configure a replica of a database by creating an item in
14
-
the `replicaSources` section of the [Redis Enterprise database specification](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_database_api.md#redisenterprisedatabasespec). The value of
15
-
`replicaSourceType` must be 'SECRET'; `replicaSourceName`
16
-
must be the name of a secret that contains the replica source url.
14
+
the [`replicaSources`](/operate/kubernetes/reference/redis_enterprise_database_api#specreplicasources) section of the RedisEnterpriseDatabase (REDB) custom resource.
17
15
18
-
A secret must be created using a `stringData` section containing the replica source URI as follows:
16
+
A secret must be created with the `stringData` section containing the replica source URI as follows:
17
+
18
+
Create a secret with the replica source URI listed in the `stringData` field as follows:
19
19
20
20
```yaml
21
21
apiVersion: v1
22
22
kind: Secret
23
23
metadata:
24
24
name: my-replica-source
25
25
stringData:
26
-
uri: replica-source-uri-goes-here
26
+
uri: <replica-source-uri-goes-here>
27
27
```
28
28
29
29
The replica source URL can be retrieved by going to "UI > database > configuration > Press the button Get Replica of source URL"
@@ -80,7 +80,7 @@ You will need `kubectl`, `curl`, and `jq` installed for this procedure.
1. Wait five minutes for all the components to read the new password from the updated secret. If you proceed to the next step too soon, the account could get locked.
79
+
3c. Update the REC credential secret.
87
80
88
-
1. Access a pod running a Redis Enterprise cluster again.
4. Wait five minutes for all the components to read the new password from the updated secret. If you proceed to the next step too soon, the account could get locked.
93
90
94
-
1. Remove the previous password to ensure only the new one applies.
91
+
5. Access a pod running a Redis Enterprise cluster again.
1. Wait five minutes for all the components to read the new password from the updated secret. If you proceed to the next step too soon, the account could get locked.
145
+
5. Wait five minutes for all the components to read the new password from the updated secret. If you proceed to the next step too soon, the account could get locked.
142
146
143
-
1. Delete the previous admin user from the cluster.
147
+
6. Delete the previous admin user from the cluster.
144
148
145
-
{{<note>}}
149
+
{{<note>}}
146
150
The operator may log errors in the time between updating the username in the REC spec and the secret update.
Docker containers are currently only supported for development and test environments, not for production. Use [Redis Enterprise on Kubernetes]({{< relref "/operate/kubernetes" >}}) for a supported containerized deployment.
0 commit comments