Skip to content

Commit 5775fbb

Browse files
Merge pull request #89 from redis/main
Releasing the fixes for broken links
2 parents 1431f8f + 5dfbc90 commit 5775fbb

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/sq/aggregations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An aggregation query allows you to perform the following actions:
44
- Group data based on field values.
55
- Apply aggregation functions on the grouped data.
66

7-
This article explains the basic usage of the `FT.AGGREGATE` command. For further details, see the [command specification](https://redis.io/commands/ft.aggregate/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) and the [aggregations reference documentation](https://redis.io/docs/interact/search-and-query/advanced-concepts/aggregations?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
7+
This article explains the basic usage of the `FT.AGGREGATE` command. For further details, see the [command specification](https://redis.io/commands/ft.aggregate/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) and the [aggregations reference documentation](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/aggregations?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
88

99
The examples in this article use a schema with the following fields:
1010

@@ -49,7 +49,7 @@ FT.AGGREGATE index "query_expr" LOAD n "field_1" .. "field_n" APPLY "function_ex
4949

5050
Here is a more detailed explanation of the query syntax:
5151

52-
1. **Query expression**: you can use the same query expressions as you would use with the `FT.SEARCH` command. You can substitute `query_expr` with any of the expressions explained in the articles of this [query topic](https://redis.io/docs/interact/search-and-query/query/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials). Vector search queries are an exception. You can't combine a vector search with an aggregation query.
52+
1. **Query expression**: you can use the same query expressions as you would use with the `FT.SEARCH` command. You can substitute `query_expr` with any of the expressions explained in the articles of this [query topic](https://redis.io/docs/latest/develop/ai/search-and-query/query/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials). Vector search queries are an exception. You can't combine a vector search with an aggregation query.
5353
2. **Loaded fields**: if field values weren't already loaded into the aggregation pipeline, you can force their presence via the `LOAD` clause. This clause takes the number of fields (`n`), followed by the field names (`"field_1" .. "field_n"`).
5454
3. **Mapping function**: this mapping function operates on the field values. A specific field is referenced as `@field_name` within the function expression. The result is returned as `result_field`.
5555

@@ -73,7 +73,7 @@ FT.AGGREGATE index "query_expr" ... GROUPBY n "field_1" .. "field_n" REDUCE AGG
7373
Here is an explanation of the additional constructs:
7474

7575
1. **Grouping**: you can group by one or many fields. Each ordered sequence of field values then defines one group. It's also possible to group by values that resulted from a previous `APPLY ... AS`.
76-
2. **Aggregation**: you must replace `AGG_FUNC` with one of the supported aggregation functions (e.g., `SUM` or `COUNT`). A complete list of functions is available in the [aggregations reference documentation](https://redis.io/docs/interact/search-and-query/advanced-concepts/aggregations?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials). Replace `aggregated_result_field` with a value of your choice.
76+
2. **Aggregation**: you must replace `AGG_FUNC` with one of the supported aggregation functions (e.g., `SUM` or `COUNT`). A complete list of functions is available in the [aggregations reference documentation](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/aggregations?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials). Replace `aggregated_result_field` with a value of your choice.
7777

7878
The following query shows you how to group by the field `condition` and apply a reduction based on the previously derived `price_category`. The expression `@price<1000` causes a bicycle to have the price category `1` if its price is lower than 1000 USD. Otherwise, it has the price category `0`. The output is the number of affordable bicycles grouped by price category.
7979

src/sq/combined.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A combined query is a combination of several query types, such as:
99
You can use logical query operators to combine query expressions for numeric, tag, and text fields. For vector fields, you can combine a KNN query with a pre-filter.
1010

1111
**Note**:
12-
The operators are interpreted slightly differently depending on the query dialect used. The default dialect is `DIALECT 1`; see [this article](https://redis.io/docs/interact/search-and-query/advanced-concepts/dialects/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) for information on the various dialects and how to change the dialect version. This article uses the second version of the query dialect, `DIALECT 2`, and uses additional brackets (`(...)`) to help clarify the examples.
12+
The operators are interpreted slightly differently depending on the query dialect used. The default dialect is `DIALECT 1`; see [this article](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/dialects/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) for information on the various dialects and how to change the dialect version. This article uses the second version of the query dialect, `DIALECT 2`, and uses additional brackets (`(...)`) to help clarify the examples.
1313

1414
The examples in this article use the following schema:
1515

@@ -134,4 +134,4 @@ FT.SEARCH idx:bicycle "@price:[500 1000] -@condition:{new}"
134134
FT.SEARCH index "expr" FILTER numeric_field start end
135135
```
136136

137-
Please see the [range query article](https://redis.io/docs/interact/search-and-query/query/range?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) to learn more about numeric range queries and such filters.
137+
Please see the [range query article](https://redis.io/docs/latest/develop/ai/search-and-query/query/range?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) to learn more about numeric range queries and such filters.

src/sq/full-text.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
A full-text search finds words or phrases within larger texts. You can search within a specific text field or across all text fields.
22

3-
This article provides a good overview of the most relevant full-text search capabilities. Please find further details about all the full-text search features in the [reference documentation](https://redis.io/docs/interact/search-and-query/advanced-concepts/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
3+
This article provides a good overview of the most relevant full-text search capabilities. Please find further details about all the full-text search features in the [reference documentation](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
44

55
The examples in this article use a schema with the following fields:
66

@@ -50,7 +50,7 @@ Instead of searching across all text fields, you might want to limit the search
5050
FT.SEARCH index "@field: word"
5151
```
5252

53-
Words that occur very often in natural language, such as `the` or `a` for the English language, aren't indexed and will not return a search result. You can find further details in the [stop words article](https://redis.io/docs/interact/search-and-query/advanced-concepts/stopwords?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
53+
Words that occur very often in natural language, such as `the` or `a` for the English language, aren't indexed and will not return a search result. You can find further details in the [stop words article](https://redis.io/docs/latest/develop/ai/search-and-query/advanced-concepts/stopwords?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
5454

5555
The following example searches for all bicycles that have the word 'kids' in the description:
5656

@@ -60,7 +60,7 @@ FT.SEARCH idx:bicycle "@description: kids"
6060

6161
## Phrase
6262

63-
A phrase is a sentence, sentence fragment, or small group of words. You can find further details about how to find exact phrases in the [exact match article](https://redis.io/docs/interact/search-and-query/query/exact-match?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
63+
A phrase is a sentence, sentence fragment, or small group of words. You can find further details about how to find exact phrases in the [exact match article](https://redis.io/docs/latest/develop/ai/search-and-query/query/exact-match?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials).
6464

6565

6666
## Word prefix

src/sq/learn-more.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Documentation
22

3-
* [Redis Query Engine home](https://redis.io/docs/interact/search-and-query/?utm_source=redisinsight&utm_medium=app&utm_campaign=query_engine_tutorial)
3+
* [Redis Query Engine home](https://redis.io/docs/latest/develop/ai/search-and-query/?utm_source=redisinsight&utm_medium=app&utm_campaign=query_engine_tutorial)
44
* [Best practices for scalable Redis Query Engine](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/search/scalable-query-best-practices/?utm_source=redisinsight&utm_medium=app&utm_campaign=tutorials)
55

66
### Redis University
@@ -18,4 +18,4 @@
1818

1919
### Tutorials
2020

21-
* [Examples](https://redis.io/docs/interact/search-and-query/query/?utm_source=redisinsight&utm_medium=app&utm_campaign=query_engine_tutorial)
21+
* [Examples](https://redis.io/docs/latest/develop/ai/search-and-query/query/?utm_source=redisinsight&utm_medium=app&utm_campaign=query_engine_tutorial)

src/sq/range.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ FT.SEARCH idx:bicycle "@price:[-inf 2000]" SORTBY price LIMIT 0 5
8888

8989
## Non-numeric range queries
9090

91-
You can learn more about non-numeric range queries, such as [geospatial](https://redis.io/docs/interact/search-and-query/query/geo-spatial?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) or [vector search](https://redis.io/docs/interact/search-and-query/query/vector-search?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) queries, in their dedicated articles.
91+
You can learn more about non-numeric range queries, such as [geospatial](https://redis.io/docs/latest/develop/ai/search-and-query/query/geo-spatial/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) or [vector search](https://redis.io/docs/latest/develop/ai/search-and-query/query/vector-search/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) queries, in their dedicated articles.

src/vss/vectors-basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This vector index attribute is broken down as follows:
5555
- `DIM 3` means that each vector is three dimensional.
5656
- The `DISTANCE_METRIC` is defined as `COSINE`. Other possible values are `IP` and `L2`.
5757

58-
See the [vector reference](https://redis.io/docs/interact/search-and-query/advanced-concepts/vectors/) for more detailed information about each available option.
58+
See the [vector reference](https://redis.io/docs/latest/develop/ai/search-and-query/vectors/?utm_source=redisinsight&utm_medium=main&utm_campaign=tutorials) for more detailed information about each available option.
5959

6060
```redis Load some data
6161
JSON.SET user:1 $ '{"user": "samuel", "descr": "Samuel likes mountain and kid\'s bikes.", "labels": "mountain, kids", "vector_embedding": [0.9, 0.7, 0.2]}'

0 commit comments

Comments
 (0)