Skip to content

Commit 3154f91

Browse files
committed
DEV: restructure indexing content (first pass)
1 parent 2b60bbc commit 3154f91

File tree

28 files changed

+1717
-1194
lines changed

28 files changed

+1717
-1194
lines changed

content/commands/ft.create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ 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/ai/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/indexing/tags" >}}).
226226

227227
- `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

content/commands/ft.tagvals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Use FT.TAGVALS if your tag indexes things like cities, categories, and so on.
6262

6363
## Limitations
6464

65-
FT.TAGVALS provides no paging or sorting, and the tags are not alphabetically sorted. FT.TAGVALS only operates on [tag fields]({{< relref "/develop/ai/search-and-query/advanced-concepts/tags" >}}).
65+
FT.TAGVALS provides no paging or sorting, and the tags are not alphabetically sorted. FT.TAGVALS only operates on [tag fields]({{< relref "/develop/ai/search-and-query/indexing/tags" >}}).
6666
The returned strings are lowercase with whitespaces removed, but otherwise unchanged.
6767

6868
## Return
@@ -87,5 +87,5 @@ FT.TAGVALS returns an array reply of all distinct tags in the tag index.
8787

8888
## Related topics
8989

90-
- [Tag fields]({{< relref "/develop/ai/search-and-query/advanced-concepts/tags" >}})
90+
- [Tag fields]({{< relref "/develop/ai/search-and-query/indexing/tags" >}})
9191
- [RediSearch]({{< relref "/develop/ai/search-and-query/" >}})

content/develop/ai/search-and-query/advanced-concepts/escaping.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

content/develop/ai/search-and-query/advanced-concepts/geo.md

Lines changed: 0 additions & 205 deletions
This file was deleted.

content/develop/ai/search-and-query/advanced-concepts/query_syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ You can use simple syntax for complex queries using these rules:
6464
* Georadius matches on geo fields with the syntax `@field:[{lon} {lat} {radius} {m|km|mi|ft}]`.
6565
* As of 2.6, range queries on vector fields with the syntax `@field:[VECTOR_RANGE {radius} $query_vec]`, where `query_vec` is given as a query parameter.
6666
* As of v2.4, k-nearest neighbors (KNN) queries on vector fields with or without pre-filtering with the syntax `{filter_query}=>[KNN {num} @field $query_vec]`.
67-
* Tag field filters with the syntax `@field:{tag | tag | ...}`. See the full documentation on [tags]({{< relref "/develop/ai/search-and-query/advanced-concepts/tags" >}}).
67+
* Tag field filters with the syntax `@field:{tag | tag | ...}`. See the full documentation on [tags]({{< relref "/develop/ai/search-and-query/indexing/tags" >}}).
6868
* Optional terms or clauses: `foo ~bar` means bar is optional but documents containing `bar` will rank higher.
6969
* Fuzzy matching on terms: `%hello%` means all terms with Levenshtein distance of 1 from it. Use multiple pairs of '%' brackets, up to three deep, to increase the Levenshtein distance.
7070
* An expression in a query can be wrapped in parentheses to disambiguate, for example, `(hello|hella) (world|werld)`.
@@ -128,8 +128,8 @@ If a field in the schema is defined as NUMERIC, it is possible to use the FILTER
128128
## Tag filters
129129

130130
As of v0.91, you can use a special field type called a
131-
[_tag field_]({{< relref "/develop/ai/search-and-query/advanced-concepts/tags" >}}), with simpler
132-
[tokenization]({{< relref "/develop/ai/search-and-query/advanced-concepts/escaping#tokenization-rules-for-tag-fields" >}})
131+
[_tag field_]({{< relref "/develop/ai/search-and-query/indexing/tags" >}}), with simpler
132+
[tokenization]({{< relref "/develop/ai/search-and-query/indexing/tokenization#tag-field-tokenization" >}})
133133
and encoding in the index. You can't access the values in these fields using a general fieldless search. Instead, you use special syntax:
134134

135135
```

0 commit comments

Comments
 (0)