Skip to content

Commit 95ba474

Browse files
Merge pull request #1769 from redis/DOC-5391
DOC-5391 move search & query to AI section and more
2 parents d6a21b5 + c64524e commit 95ba474

File tree

161 files changed

+611
-553
lines changed

Some content is hidden

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

161 files changed

+611
-553
lines changed

content/commands/ft.aggregate.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ groups the results in the pipeline based on one or more properties. Each group s
260260

261261
reduces the matching results in each group into a single record, using a reduction function. For example, `COUNT` counts the number of records in the group. The reducers can have their own property names using the `AS {name}` optional argument. If a name is not given, the resulting name will be the name of the reduce function and the group properties. For example, if a name is not given to `COUNT_DISTINCT` by property `@foo`, the resulting name will be `count_distinct(@foo)`.
262262

263-
See [Supported GROUPBY reducers]({{< relref "develop/interact/search-and-query/advanced-concepts/aggregations#supported-groupby-reducers" >}}) for more details.
263+
See [Supported GROUPBY reducers]({{< relref "develop/ai/search-and-query/advanced-concepts/aggregations#supported-groupby-reducers" >}}) for more details.
264264
</details>
265265

266266
<details open>
@@ -292,7 +292,7 @@ applies a 1-to-1 transformation on one or more properties and either stores the
292292
`expr` is an expression that can be used to perform arithmetic operations on numeric properties, or functions that can be applied on properties depending on their types (see below), or any combination thereof. For example, `APPLY "sqrt(@foo)/log(@bar) + 5" AS baz` evaluates this expression dynamically for each record in the pipeline and store the result as a new property called `baz`, which can be referenced by further `APPLY`/`SORTBY`/`GROUPBY`/`REDUCE` operations down the
293293
pipeline.
294294

295-
See [APPLY expressions]({{< relref "develop/interact/search-and-query/advanced-concepts/aggregations/#apply-expressions" >}}) for details.
295+
See [APPLY expressions]({{< relref "develop/ai/search-and-query/advanced-concepts/aggregations/#apply-expressions" >}}) for details.
296296
</details>
297297

298298
<details open>
@@ -316,7 +316,7 @@ filters the results using predicate expressions relating to values in each resul
316316
<summary><code>WITHCURSOR {COUNT} {read_size} [MAXIDLE {idle_time}]</code></summary>
317317

318318
Scan part of the results with a quicker alternative than `LIMIT`.
319-
See [Cursor API]({{< relref "develop/interact/search-and-query/advanced-concepts/aggregations#cursor-api" >}}) for more details.
319+
See [Cursor API]({{< relref "develop/ai/search-and-query/advanced-concepts/aggregations#cursor-api" >}}) for more details.
320320
</details>
321321

322322
<details open>
@@ -336,7 +336,7 @@ You can reference parameters in the `query` by a `$`, followed by the parameter
336336
<details open>
337337
<summary><code>SCORER {scorer}</code></summary>
338338

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.
339+
uses a [built-in]({{< relref "/develop/ai/search-and-query/advanced-concepts/scoring" >}}) or a [user-provided]({{< relref "/develop/ai/search-and-query/administration/extensions" >}}) scoring function.
340340
</details>
341341

342342
<details open>
@@ -495,6 +495,6 @@ Next, count GitHub events by user (actor), to produce the most active users.
495495

496496
## Related topics
497497

498-
- [Aggregations]({{< relref "/develop/interact/search-and-query/advanced-concepts/aggregations" >}})
499-
- [RediSearch]({{< relref "/develop/interact/search-and-query" >}})
498+
- [Aggregations]({{< relref "/develop/ai/search-and-query/advanced-concepts/aggregations" >}})
499+
- [RediSearch]({{< relref "/develop/ai/search-and-query" >}})
500500

content/commands/ft.aliasadd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ Attempting to add the same alias returns a message that the alias already exists
8080

8181
## Related topics
8282

83-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
83+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.aliasdel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ OK
6666

6767
## Related topics
6868

69-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
69+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.aliasupdate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ OK
6868

6969
## Related topics
7070

71-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
71+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.alter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ OK
102102

103103
## Related topics
104104

105-
- [RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
105+
- [RediSearch]({{< relref "/develop/ai/search-and-query/" >}})
106106

107107

108108

content/commands/ft.config-get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ FT.CONFIG GET returns an array reply of the configuration name and value.
146146

147147
## Related topics
148148

149-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
149+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.config-help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ FT.CONFIG HELP returns an array reply of the configuration name and value.
7171

7272
## Related topics
7373

74-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
74+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.config-set.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Set the value of a RediSearch configuration parameter.
4040

4141
Values set using `FT.CONFIG SET` are not persisted after server restart.
4242

43-
RediSearch configuration parameters are detailed in [Configuration parameters]({{< relref "/develop/interact/search-and-query/administration/configuration" >}}).
43+
RediSearch configuration parameters are detailed in [Configuration parameters]({{< relref "/develop/ai/search-and-query/administration/configuration" >}}).
4444

4545
{{% alert title="Note" color="warning" %}}
4646
As detailed in the link above, not all RediSearch configuration parameters can be set at runtime.
@@ -83,4 +83,4 @@ OK
8383

8484
## Related topics
8585

86-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
86+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/commands/ft.create.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@ after the SCHEMA keyword, declares which fields to index:
222222

223223
- `TEXT` - Allows full-text search queries against the value in this attribute.
224224

225-
- `TAG` - Allows exact-match queries, such as categories or primary keys, against the value in this attribute. For more information, see [Tag Fields]({{< relref "/develop/interact/search-and-query/advanced-concepts/tags" >}}).
225+
- `TAG` - Allows exact-match queries, such as categories or primary keys, against the value in this attribute. For more information, see [Tag Fields]({{< relref "/develop/ai/search-and-query/advanced-concepts/tags" >}}).
226226

227-
- `NUMERIC` - Allows numeric range queries against the value in this attribute. See [query syntax docs]({{< relref "/develop/interact/search-and-query/query/" >}}) for details on how to use numeric ranges.
227+
- `NUMERIC` - Allows numeric range queries against the value in this attribute. See [query syntax docs]({{< relref "/develop/ai/search-and-query/query/" >}}) for details on how to use numeric ranges.
228228

229229
- `GEO` - Allows radius range queries against the value (point) in this attribute. The value of the attribute must be a string containing a longitude (first) and latitude separated by a comma.
230230

231-
- `VECTOR` - Allows vector queries against the value in this attribute. This requires [query dialect 2]({{< relref "/develop/interact/search-and-query/advanced-concepts/dialects#dialect-2" >}}) or above (introduced in [RediSearch v2.4](https://github.com/RediSearch/RediSearch/releases/tag/v2.4.3)). For more information, see [Vector Fields]({{< relref "/develop/interact/search-and-query/advanced-concepts/vectors" >}}).
231+
- `VECTOR` - Allows vector queries against the value in this attribute. This requires [query dialect 2]({{< relref "/develop/ai/search-and-query/advanced-concepts/dialects#dialect-2" >}}) or above (introduced in [RediSearch v2.4](https://github.com/RediSearch/RediSearch/releases/tag/v2.4.3)). For more information, see [Vector Fields]({{< relref "/develop/ai/search-and-query/vectors" >}}).
232232

233233
- `GEOSHAPE`- Allows polygon queries against the value in this attribute. The value of the attribute must follow a [WKT notation](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry) list of 2D points representing the polygon edges `POLYGON((x1 y1, x2 y2, ...)` separated by a comma. A `GEOSHAPE` field type can be followed by one of the following coordinate systems:
234234
- `SPHERICAL` for Geographic longitude and latitude coordinates
@@ -240,7 +240,7 @@ after the SCHEMA keyword, declares which fields to index:
240240

241241
Field options are:
242242

243-
- `SORTABLE` - `NUMERIC`, `TAG`, `TEXT`, or `GEO` attributes can have an optional **SORTABLE** argument. As the user [sorts the results by the value of this attribute]({{< relref "/develop/interact/search-and-query/advanced-concepts/sorting" >}}), the results are available with very low latency. Note that his adds memory overhead, so consider not declaring it on large text attributes. You can sort an attribute without the `SORTABLE` option, but the latency is not as good as with `SORTABLE`.
243+
- `SORTABLE` - `NUMERIC`, `TAG`, `TEXT`, or `GEO` attributes can have an optional **SORTABLE** argument. As the user [sorts the results by the value of this attribute]({{< relref "/develop/ai/search-and-query/advanced-concepts/sorting" >}}), the results are available with very low latency. Note that his adds memory overhead, so consider not declaring it on large text attributes. You can sort an attribute without the `SORTABLE` option, but the latency is not as good as with `SORTABLE`.
244244

245245
- `UNF` - By default, for hashes (not with JSON) `SORTABLE` applies a normalization to the indexed value (characters set to lowercase, removal of diacritics). When using the unnormalized form (UNF), you can disable the normalization and keep the original form of the value. With JSON, `UNF` is implicit with `SORTABLE` (normalization is disabled).
246246

@@ -255,7 +255,7 @@ after the SCHEMA keyword, declares which fields to index:
255255
- `dm:pt` - Double metaphone for Portuguese
256256
- `dm:es` - Double metaphone for Spanish
257257

258-
For more information, see [Phonetic Matching]({{< relref "/develop/interact/search-and-query/advanced-concepts/phonetic_matching" >}}).
258+
For more information, see [Phonetic Matching]({{< relref "/develop/ai/search-and-query/advanced-concepts/phonetic_matching" >}}).
259259

260260
- `WEIGHT {weight}` for `TEXT` attributes, declares the importance of this attribute when calculating result accuracy. This is a multiplication factor, and defaults to 1 if not specified.
261261

@@ -306,7 +306,7 @@ A stemmer is used for the supplied language during indexing. If an unsupported l
306306
Indonesian, Irish, Italian, Lithuanian, Nepali, Norwegian, Portuguese, Romanian, Russian,
307307
Spanish, Swedish, Tamil, Turkish, and Chinese.
308308

309-
When adding Chinese language documents, set `LANGUAGE chinese` for the indexer to properly tokenize the terms. If you use the default language, then search terms are extracted based on punctuation characters and whitespace. The Chinese language tokenizer makes use of a segmentation algorithm (via [Friso](https://github.com/lionsoul2014/friso)), which segments text and checks it against a predefined dictionary. See [Stemming]({{< relref "/develop/interact/search-and-query/advanced-concepts/stemming" >}}) for more information.
309+
When adding Chinese language documents, set `LANGUAGE chinese` for the indexer to properly tokenize the terms. If you use the default language, then search terms are extracted based on punctuation characters and whitespace. The Chinese language tokenizer makes use of a segmentation algorithm (via [Friso](https://github.com/lionsoul2014/friso)), which segments text and checks it against a predefined dictionary. See [Stemming]({{< relref "/develop/ai/search-and-query/advanced-concepts/stemming" >}}) for more information.
310310
</details>
311311

312312
<a name="SCORE"></a><details open>
@@ -469,9 +469,9 @@ The following example uses data similar to the hash examples above but uses JSON
469469

470470
## Related topics
471471

472-
- [RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
472+
- [RediSearch]({{< relref "/develop/ai/search-and-query/" >}})
473473
- [RedisJSON]({{< relref "/develop/data-types/json/" >}})
474474
- [Friso](https://github.com/lionsoul2014/friso)
475-
- [Stemming]({{< relref "/develop/interact/search-and-query/advanced-concepts/stemming" >}})
476-
- [Phonetic Matching]({{< relref "/develop/interact/search-and-query/advanced-concepts/phonetic_matching" >}})
475+
- [Stemming]({{< relref "/develop/ai/search-and-query/advanced-concepts/stemming" >}})
476+
- [Phonetic Matching]({{< relref "/develop/ai/search-and-query/advanced-concepts/phonetic_matching" >}})
477477
- [RSCoordinator](https://github.com/RedisLabsModules/RSCoordinator)

content/commands/ft.cursor-del.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ Check that the cursor is deleted.
8080

8181
## Related topics
8282

83-
[RediSearch]({{< relref "/develop/interact/search-and-query/" >}})
83+
[RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

0 commit comments

Comments
 (0)