Skip to content

Commit 9b39088

Browse files
committed
Add reference to the query attributes page
1 parent 15f6559 commit 9b39088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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 semantically similar title to _Planet Earth_ using cluster optimization. Each shard retrieves 60% of the requested results for improved performance in Redis cluster environments.
685+
Search for books with semantically similar title 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.
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

0 commit comments

Comments
 (0)