Skip to content

Commit edd8a15

Browse files
committed
Merging main
2 parents 147d1fa + 097adde commit edd8a15

File tree

142 files changed

+5648
-993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+5648
-993
lines changed

.github/workflows/k8s_apis_sync.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -90,30 +90,30 @@ jobs:
9090
EOL
9191
}
9292
93-
formatYamlSnippet admission-service.yaml content/embeds/admission-service.md
94-
formatYamlSnippet admission/webhook.yaml content/embeds/admission_webhook.md
95-
formatYamlSnippet examples/v1/rec.yaml content/embeds/rec.md
96-
formatYamlSnippet examples/v1alpha1/reaadb.yaml content/embeds/reaadb.md
97-
formatYamlSnippet examples/v1alpha1/redb.yaml content/embeds/redb.md
98-
formatYamlSnippet examples/v1alpha1/rerc.yaml content/embeds/rerc.md
99-
formatYamlSnippet log_collector/log_collector_role_all_mode.yaml content/embeds/log_collector_role_all_mode.md
100-
formatYamlSnippet log_collector/log_collector_role_restricted_mode.yaml content/embeds/log_collector_role_restricted_mode.md
101-
formatYamlSnippet multi-namespace-redb/operator_cluster_role_binding.yaml content/embeds/multi-ns_operator_cluster_role_binding.md
102-
formatYamlSnippet multi-namespace-redb/operator_cluster_role.yaml content/embeds/multi-ns_operator_cluster_role.md
103-
formatYamlSnippet multi-namespace-redb/role_binding.yaml content/embeds/multi-ns_role_binding.md
104-
formatYamlSnippet multi-namespace-redb/role.yaml content/embeds/multi-ns_role.md
105-
formatYamlSnippet openshift/admission-service.yaml content/embeds/openshift_admission-service.md
106-
formatYamlSnippet openshift/rec_rhel.yaml content/embeds/openshift_rec.md
107-
formatYamlSnippet openshift/role_binding.yaml content/embeds/openshift_role_binding.md
108-
formatYamlSnippet openshift/role.yaml content/embeds/openshift_role.md
109-
formatYamlSnippet openshift/scc.yaml content/embeds/openshift_scc.md
110-
formatYamlSnippet openshift/service_account.yaml content/embeds/openshift_service_account.md
111-
formatYamlSnippet rack_awareness/rack_aware_cluster_role_binding.yaml content/embeds/rack_aware_cluster_role_binding.md
112-
formatYamlSnippet rack_awareness/rack_aware_cluster_role.yaml content/embeds/rack_aware_cluster_role.md
113-
formatYamlSnippet rack_awareness/rack_aware_rec.yaml content/embeds/rack_aware_rec.md
114-
formatYamlSnippet role_binding.yaml content/embeds/role_binding.md
115-
formatYamlSnippet role.yaml content/embeds/role.md
116-
formatYamlSnippet service_account.yaml content/embeds/service_account.md
93+
formatYamlSnippet admission-service.yaml content/embeds/k8s/admission-service.md
94+
formatYamlSnippet admission/webhook.yaml content/embeds/k8s/admission_webhook.md
95+
formatYamlSnippet examples/v1/rec.yaml content/embeds/k8s/rec.md
96+
formatYamlSnippet examples/v1alpha1/reaadb.yaml content/embeds/k8s/reaadb.md
97+
formatYamlSnippet examples/v1alpha1/redb.yaml content/embeds/k8s/redb.md
98+
formatYamlSnippet examples/v1alpha1/rerc.yaml content/embeds/k8s/rerc.md
99+
formatYamlSnippet log_collector/log_collector_role_all_mode.yaml content/embeds/k8s/log_collector_role_all_mode.md
100+
formatYamlSnippet log_collector/log_collector_role_restricted_mode.yaml content/embeds/k8s/log_collector_role_restricted_mode.md
101+
formatYamlSnippet multi-namespace-redb/operator_cluster_role_binding.yaml content/embeds/k8s/multi-ns_operator_cluster_role_binding.md
102+
formatYamlSnippet multi-namespace-redb/operator_cluster_role.yaml content/embeds/k8s/multi-ns_operator_cluster_role.md
103+
formatYamlSnippet multi-namespace-redb/role_binding.yaml content/embeds/k8s/multi-ns_role_binding.md
104+
formatYamlSnippet multi-namespace-redb/role.yaml content/embeds/k8s/multi-ns_role.md
105+
formatYamlSnippet openshift/admission-service.yaml content/embeds/k8s/openshift_admission-service.md
106+
formatYamlSnippet openshift/rec_rhel.yaml content/embeds/k8s/openshift_rec.md
107+
formatYamlSnippet openshift/role_binding.yaml content/embeds/k8s/openshift_role_binding.md
108+
formatYamlSnippet openshift/role.yaml content/embeds/k8s/openshift_role.md
109+
formatYamlSnippet openshift/scc.yaml content/embeds/k8s/openshift_scc.md
110+
formatYamlSnippet openshift/service_account.yaml content/embeds/k8s/openshift_service_account.md
111+
formatYamlSnippet rack_awareness/rack_aware_cluster_role_binding.yaml content/embeds/k8s/rack_aware_cluster_role_binding.md
112+
formatYamlSnippet rack_awareness/rack_aware_cluster_role.yaml content/embeds/k8s/rack_aware_cluster_role.md
113+
formatYamlSnippet rack_awareness/rack_aware_rec.yaml content/embeds/k8s/rack_aware_rec.md
114+
formatYamlSnippet role_binding.yaml content/embeds/k8s/role_binding.md
115+
formatYamlSnippet role.yaml content/embeds/k8s/role.md
116+
formatYamlSnippet service_account.yaml content/embeds/k8s/service_account.md
117117
118118
- name: 'Send pull request'
119119
env:
@@ -136,7 +136,7 @@ jobs:
136136
git apply content/operate/kubernetes/reference/kubernetes-api-reference-frontmatter.patch
137137
138138
git add content/operate/kubernetes/reference/
139-
git add content/embeds/
139+
git add content/embeds/k8s/
140140
141141
git commit -m "k8s api docs ${RELEASE}"
142142
git push origin "${BRANCH}"

.github/workflows/main-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build the staging documentation site
88
runs-on: ubuntu-latest
99
env:
10-
HUGO_VERSION: 0.111.2
10+
HUGO_VERSION: 0.143.1
1111
GCLOUD_VERSION: 458.0.1-linux-x86_64
1212
BUCKET: docs-staging-learn-redis-com
1313
BUCKET_SERVICE_ACCOUNT: ${{ secrets.BUCKET_DOCUMENTATION_SA_STAGING }}

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build the production documentation site
88
runs-on: ubuntu-latest
99
env:
10-
HUGO_VERSION: 0.111.2
10+
HUGO_VERSION: 0.143.1
1111
GCLOUD_VERSION: 458.0.1-linux-x86_64
1212
BUCKET: docs-prod-learn-redis-com
1313
BUCKET_SERVICE_ACCOUNT: ${{ secrets.BUCKET_DOCUMENTATION_SA_PROD }}

LICENSE

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
The Redis Website and Documentation by Redis Ltd. is licensed under the
2-
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
2+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, or,
3+
certain portions that were previously available at <https://github.com/redis/redis-doc?tab=readme-ov-file#readme>,
4+
are available under the Creative Commons Attribution-ShareAlike 4.0 International Public License
5+
at <https://github.com/redis/redis-doc?tab=License-1-ov-file#readme>.
36

47
You should have received a copy of the license along with this
58
work. If not, see <http://creativecommons.org/licenses/by-nc-sa/4.0/>.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
HUGO_CONTENT=./content
2-
HUGO_DEBUG=--debug --log
2+
HUGO_DEBUG=--logLevel debug
33
HUGO_BUILD=--gc
44

55
all: clean deps components hugo

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You will need the following tools to build the site locally:
3535

3636
- `python3`: Python >= 3.8.
3737
- `node` and `npm`: Node.js >= 19.7.0, and the Node.js package manager >= 9.5.0.
38-
- `hugo`: Hugo site generator, v0.111.2; the extended edition.
38+
- `hugo`: Hugo site generator, v0.143.0; the extended edition.
3939
- `make`: To run the makefile.
4040
- `git`: To manage the source code of this repo.
4141

config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ rdi_redis_gears_version = "1.2.6"
5555
rdi_debezium_server_version = "2.3.0.Final"
5656
rdi_db_types = "cassandra|mysql|oracle|postgresql|sqlserver"
5757
rdi_cli_latest = "latest"
58+
rdi_current_version = "v1.6.0"
5859

5960
[params.clientsConfig]
6061
"Python"={quickstartSlug="redis-py"}

content/commands/ft.aggregate/index.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ arguments:
143143
name: params
144144
optional: true
145145
type: block
146+
- name: scorer
147+
optional: true
148+
token: SCORER
149+
type: string
150+
- name: addscores
151+
optional: true
152+
token: ADDSCORES
153+
type: pure-token
146154
- name: dialect
147155
optional: true
148156
since: 2.4.3
@@ -177,7 +185,8 @@ syntax: "FT.AGGREGATE index query \n [VERBATIM] \n [LOAD count field [field ..
177185
\ ...]] ...]] \n [ SORTBY nargs [ property ASC | DESC [ property ASC | DESC ...]]\
178186
\ [MAX num] [WITHCOUNT] \n [ APPLY expression AS name [ APPLY expression AS name\
179187
\ ...]] \n [ LIMIT offset num] \n [FILTER filter] \n [ WITHCURSOR [COUNT read_size]\
180-
\ [MAXIDLE idle_time]] \n [ PARAMS nargs name value [ name value ...]] \n [ADDSCORES] \n [DIALECT\
188+
\ [MAXIDLE idle_time]] \n [ PARAMS nargs name value [ name value ...]] \n [SCORER scorer]\n
189+
\ [ADDSCORES] \n [DIALECT\
181190
\ dialect]\n"
182191
syntax_fmt: "FT.AGGREGATE index query [VERBATIM] [LOAD\_count field [field ...]]\n\
183192
\ [TIMEOUT\_timeout] [LOAD *] [GROUPBY\_nargs property [property ...]\n [REDUCE\_\
@@ -187,15 +196,15 @@ syntax_fmt: "FT.AGGREGATE index query [VERBATIM] [LOAD\_count field [field ...]]
187196
name] ...]] ...]]\n [SORTBY\_nargs [property <ASC | DESC> [property <ASC | DESC>\
188197
\ ...]]\n [MAX\_num]] [APPLY\_expression AS\_name [APPLY\_expression AS\_name\n\
189198
\ ...]] [LIMIT offset num] [FILTER\_filter] [WITHCURSOR\n [COUNT\_read_size] [MAXIDLE\_\
190-
idle_time]] [PARAMS nargs name value\n [name value ...]]\n [ADDSCORES]\n [DIALECT\_dialect]"
199+
idle_time]] [PARAMS nargs name value\n [name value ...]]\n [SCORER scorer]\n [ADDSCORES]\n [DIALECT\_dialect]"
191200
syntax_str: "query [VERBATIM] [LOAD\_count field [field ...]] [TIMEOUT\_timeout] [LOAD\
192201
\ *] [GROUPBY\_nargs property [property ...] [REDUCE\_function nargs arg [arg ...]\
193202
\ [AS\_name] [REDUCE\_function nargs arg [arg ...] [AS\_name] ...]] [GROUPBY\_nargs\
194203
\ property [property ...] [REDUCE\_function nargs arg [arg ...] [AS\_name] [REDUCE\_\
195204
function nargs arg [arg ...] [AS\_name] ...]] ...]] [SORTBY\_nargs [property <ASC\
196205
\ | DESC> [property <ASC | DESC> ...]] [MAX\_num]] [APPLY\_expression AS\_name [APPLY\_\
197206
expression AS\_name ...]] [LIMIT offset num] [FILTER\_filter] [WITHCURSOR [COUNT\_\
198-
read_size] [MAXIDLE\_idle_time]] [PARAMS nargs name value [name value ...]] [ADDSCORES] [DIALECT\_\
207+
read_size] [MAXIDLE\_idle_time]] [PARAMS nargs name value [name value ...]] [SCORER scorer] [ADDSCORES] [DIALECT\_\
199208
dialect]"
200209
title: FT.AGGREGATE
201210
---
@@ -324,6 +333,12 @@ defines one or more value parameters. Each parameter has a name and a value.
324333
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`.
325334
</details>
326335

336+
<details open>
337+
<summary><code>SCORER {scorer}</code></summary>
338+
339+
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.
340+
</details>
341+
327342
<details open>
328343
<summary><code>ADDSCORES</code></summary>
329344

content/commands/incr/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ value greater than 10, otherwise it will expire and start again from 0.
177177
If for some reason the client performs the `INCR` command but does not perform
178178
the [`EXPIRE`]({{< relref "/commands/expire" >}}) the key will be leaked until we'll see the same IP address again.
179179

180-
This can be fixed easily turning the `INCR` with optional [`EXPIRE`]({{< relref "/commands/expire" >}}) into a Lua
181-
script that is send using the [`EVAL`]({{< relref "/commands/eval" >}}) command (only available since Redis version
180+
This can be easily fixed by turning the `INCR` with optional [`EXPIRE`]({{< relref "/commands/expire" >}}) into a Lua
181+
script that is then sent using the [`EVAL`]({{< relref "/commands/eval" >}}) command (only available since Redis version
182182
2.6).
183183

184184
```

0 commit comments

Comments
 (0)