Skip to content

Commit 9bf9bf8

Browse files
authored
DEV: move query attributes to its own page (#2408)
1 parent 7338740 commit 9bf9bf8

File tree

20 files changed

+62
-48
lines changed

20 files changed

+62
-48
lines changed

content/commands/ft.search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Search for books with semantically similar title to _Planet Earth_. Return top 1
682682
<details open>
683683
<summary><b>Vector search with cluster optimization</b></summary>
684684

685-
Search for books with titles that are semantically similar to _Planet Earth_ using cluster optimization. Each shard retrieves 60% of the requested results for improved performance in Redis cluster environments. See the [query attributes]({{< relref "/develop/ai/search-and-query/advanced-concepts/query_syntax#query-attributes" >}}) reference page for more information.
685+
Search for books with titles that are semantically similar to _Planet Earth_ using cluster optimization. Each shard retrieves 60% of the requested results for improved performance in Redis cluster environments. See the [query attributes]({{< relref "/develop/ai/search-and-query/advanced-concepts/query_attributes" >}}) reference page for more information.
686686

687687
{{< highlight bash >}}
688688
127.0.0.1:6379> FT.SEARCH books-idx "*=>[KNN 100 @title_embedding $query_vec]=>{$SHARD_K_RATIO: 0.6; $YIELD_DISTANCE_AS: title_score}" PARAMS 2 query_vec <"Planet Earth" embedding BLOB> SORTBY title_score DIALECT 2

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ categories:
1212
description: Order of operations for the FT.AGGREGATE command
1313
linkTitle: Aggregation syntax
1414
title: FT.AGGREGATE order of operations
15-
weight: 2
15+
weight: 4
1616
---
1717

1818
## Overview

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Learn how to use the autocomplete feature of Redis for efficient prefix-based suggestion retrieval.
1515
linkTitle: Autocomplete
1616
title: Autocomplete with Redis
17-
weight: 3
17+
weight: 7
1818
---
1919

2020
## Overview

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Chinese support for searching and querying in Redis Open Source
1515
linkTitle: Chinese
1616
title: Chinese support
17-
weight: 15
17+
weight: 55
1818
---
1919

2020
Support for adding documents in Chinese is available starting at version 0.99.0.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Learn how to use query dialects
1515
linkTitle: Query dialects
1616
title: Query dialects
17-
weight: 5
17+
weight: 16
1818
---
1919

2020
Redis Open Source currently supports four query dialects for use with the [`FT.SEARCH`]({{< relref "/commands/ft.search/" >}}), [`FT.AGGREGATE`]({{< relref "/commands/ft.aggregate/" >}}), and other Redis Query Engine commands.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Controlling text tokenization and escaping
1515
linkTitle: Tokenization
1616
title: Tokenization
17-
weight: 4
17+
weight: 10
1818
---
1919

2020
Full-text search works by comparing words, URLs, numbers, and other elements of the query

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ categories:
1212
description: How the Redis Query Engine handles expiring keys and hash fields
1313
linkTitle: Key and field expiration
1414
title: Key and field expiration behavior
15-
weight: 8
15+
weight: 34
1616
---
1717

1818
The Redis Query Engine behavior with expiring keys and hash fields has been enhanced starting with Redis 8 to provide more consistent and predictable results.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: Learn how to use geospatial fields and perform geospatial queries i
1616
linkTitle: Geospatial
1717
math: true
1818
title: Geospatial
19-
weight: 14
19+
weight: 49
2020
---
2121

2222
Redis Query Engine supports geospatial data. This feature

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Highlighting full-text results
1515
linkTitle: Highlighting
1616
title: Highlighting
17-
weight: 7
17+
weight: 31
1818
---
1919

2020
Redis Open Source uses advanced algorithms for highlighting and summarizing, which enable only the relevant portions of a document to appear in response to a search query. This feature allows users to immediately understand the relevance of a document to their search criteria, typically highlighting the matching terms in bold text.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories:
1414
description: Details about phonetic matching capabilities
1515
linkTitle: Phonetic
1616
title: Phonetic matching
17-
weight: 14
17+
weight: 52
1818
---
1919

2020
Phonetic matching, for example "Jon" vs. "John", allows searching for terms based on their pronunciation. This capability can be a useful tool when searching for names of people.
@@ -23,7 +23,7 @@ Phonetic matching is based on the use of a phonetic algorithm. A phonetic algori
2323

2424
As of v1.4, Redis Query Engine, which is included in Redis Open Source, provides phonetic matching of text fields specified with the `PHONETIC` attribute. This causes the terms in such fields to be indexed both by their textual value as well as their phonetic approximation.
2525

26-
Performing a search on `PHONETIC` fields will, by default, also return results for phonetically similar terms. This behavior can be controlled with the [`$phonetic` query attribute]({{< relref "/develop/ai/search-and-query/query/#query-attributes" >}}).
26+
Performing a search on `PHONETIC` fields will, by default, also return results for phonetically similar terms. This behavior can be controlled with the [`$phonetic` query attribute]({{< relref "/develop/ai/search-and-query/advanced-concepts/query_attributes" >}}).
2727

2828
## Phonetic algorithms support
2929

0 commit comments

Comments
 (0)