Skip to content

Commit fe9420a

Browse files
Merge pull request #687 from redis/main
Push the button...
2 parents 4ab1110 + 1d88617 commit fe9420a

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

content/commands/ft.search/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ orders the results by the value of this attribute. This applies to both text and
478478
<summary><code>LIMIT first num</code></summary>
479479

480480
limits the results to the offset and number of results given. Note that the offset is zero-indexed. The default is 0 10, which returns 10 items starting from the first result. You can use `LIMIT 0 0` to count the number of documents in the result set without actually returning them.
481+
482+
**`LIMIT` behavior**: If you use the `LIMIT` option without sorting, the results returned are non-deterministic, which means that subsequent queries may return duplicated or missing values. Add `SORTBY` with a unique field, or use `FT.AGGREGATE` with the `WITHCURSOR` option to ensure deterministic result set paging.
481483
</details>
482484

483485
<details open>

content/develop/interact/search-and-query/query/vector-search.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ You can read more about the `PARAMS` argument in the [FT.SEARCH]({{< baseurl >}}
4646

4747
The following example shows you how to query for three bikes based on their description embeddings, and by using the field alias `vector`. The result is returned in ascending order based on the distance. You can see that the query only returns the fields `__vector_score` and `description`. The field `__vector_score` is present by default. Because you can have multiple vector fields in your schema, the vector score field name depends on the name of the vector field. If you change the field name `@vector` to `@foo`, the score field name changes to `__foo_score`.
4848

49-
```
49+
{{< clients-example query_vector vector1 >}}
5050
FT.SEARCH idx:bikes_vss "(*)=>[KNN 3 @vector $query_vector]" PARAMS 2 "query_vector" "Z\xf8\x15:\xf23\xa1\xbfZ\x1dI>\r\xca9..." SORTBY "__vector_score" ASC RETURN 2 "__vector_score" "description" DIALECT 2
51-
```
51+
{{< /clients-example >}}
5252

5353
<!-- Python query>
5454
query = (
@@ -60,7 +60,7 @@ query = (
6060
</!-->
6161

6262
{{% alert title="Note" color="warning" %}}
63-
The binary value of the query vector is significantly shortened in this example.
63+
The binary value of the query vector is significantly shortened in the CLI example above.
6464
{{% /alert %}}
6565

6666

@@ -93,9 +93,9 @@ By default, [`FT.SEARCH`]({{< baseurl >}}/commands/ft.search/) returns only the
9393

9494
The example below shows a radius query that returns the description and the distance within a radius of `0.5`. The result is sorted by the distance.
9595

96-
```
96+
{{< clients-example query_vector vector2 >}}
9797
FT.SEARCH idx:bikes_vss "@vector:[VECTOR_RANGE 0.5 $query_vector]=>{$YIELD_DISTANCE_AS: vector_dist}" PARAMS 2 "query_vector" "Z\xf8\x15:\xf23\xa1\xbfZ\x1dI>\r\xca9..." SORTBY vector_dist ASC RETURN 2 vector_dist description DIALECT 2
98-
```
98+
{{< /clients-example >}}
9999

100100
<!-- Python query>
101101
query = (

content/operate/kubernetes/deployment/openshift/openshift-operatorhub.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To see which version of Redis Enterprise for Kubernetes supports your OpenShift
2929

3030
Only one namespace per operator is supported.
3131

32-
4. Update the **channel** with the version you're installing.
32+
4. Update the **channel** with the version you're installing.
3333

3434
For more information about specific versions, see the [release notes]({{< relref "/operate/kubernetes/release-notes/" >}}).
3535

@@ -66,11 +66,15 @@ You only need to install the SCC once, but you must not delete it.
6666
After the install, the OperatorHub automatically uses the constraint for Redis Enterprise node pods.
6767

6868
{{< note >}}
69-
**Known Limitation** - The automatic use of the security constraint is limited. The
70-
Redis Enterprise must be named `rec` for the constraint to be used automatically. **Use the cluster name `rec` when deploying with the OperatorHub.**
69+
If you are using the recommended RedisEnterpriseCluster name of `rec`, the SCC is automatically bound to the RedisEnterpriseCluster after install.
70+
71+
If you choose a different name for the RedisEnterpriseCluster, or override the default service account name, you must manually bind the SCC to the RedisEnterpriseCluster’s service account:
72+
73+
```sh
74+
oc adm policy add-scc-to-user redis-enterprise-scc-v2 \
75+
system:serviceaccount:<my-project>:<rec-service-account-name>
76+
```
7177

72-
If you require a different name, you must grant the SCC to the project
73-
namespace.
7478
{{< /note >}}
7579

7680
## Create Redis Enterprise custom resources

content/operate/rc/supported-regions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Redis Cloud Pro databases on AWS support [VPC Peering]({{< relref "/operate/rc/s
4444
| `eu-north-1` | Stockholm, Sweden | <span title="Supported">&#x2705;</span> | <span title="Not supported">&#x274c;</span> |
4545
| `eu-south-1` | Milan, Italy | <span title="Supported">&#x2705;</span> | <span title="Not supported">&#x274c;</span> |
4646
| `eu-south-2` | Spain | <span title="Supported">&#x2705;</span> | <span title="Not supported">&#x274c;</span> |
47-
| `eu-west-1` | Ireland | <span title="Supported">&#x2705;</span> | <span title="Not supported">&#x274c;</span> |
47+
| `eu-west-1` | Ireland | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
4848
| `eu-west-2` | London, UK | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
4949
| `eu-west-3` | Paris, France | <span title="Supported">&#x2705;</span> | <span title="Supported">&#x2705;</span> |
5050

layouts/partials/tabs/wrapper.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
{{ range $i, $tab := $tabs }}
1313
{{ $tid := printf "%s_%s" (replace (replace (index $tab "title") "#" "sharp") "." "") $id }}
1414
{{ $pid := printf "panel_%s" $tid }}
15-
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ index $tab "language" }}" class="radiotab w-0 h-0"
15+
{{ $dataLang := replace (or (index $tab "language") "redis-cli") "C#" "dotnet" }}
16+
<input tabindex="1" type="radio" name="{{ $id }}" id="{{ $tid }}" data-lang="{{ $dataLang }}" class="radiotab w-0 h-0"
1617
{{ if eq $i 0 }}checked{{ end }}
1718
/>
1819
<label class="justify-left label ml-4 pt-3.5 px-3 pb-1 cursor-pointer text-sm text-center bg-redis-ink-900

0 commit comments

Comments
 (0)