You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-get-started-vector.md
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,7 +386,7 @@ Key takeaways about the [Create Index](/rest/api/searchservice/indexes/create) R
386
386
387
387
- The `fields` collection includes a required key field and text and vector fields (such as `Description` and `DescriptionVector`) fortext and vector search. Colocating vector and nonvector fieldsin the same index enables hybrid queries. For instance, you can combine filters, text search with semantic ranking, and vectors into a single query operation.
388
388
389
-
- Vector fields must be one of the [EDM data types used for vectors](rest/api/searchservice/supported-data-types#edm-data-types-for-vector-fields), such as `type: Collection(Edm.Single)`. Vector fields also have `dimensions` and `vectorSearchProfile` properties.
389
+
- Vector fields must be one of the [EDM data types used for vectors](/rest/api/searchservice/supported-data-types#edm-data-types-for-vector-fields), such as `type: Collection(Edm.Single)`. Vector fields also have `dimensions` and `vectorSearchProfile` properties.
390
390
391
391
- The `vectorSearch` section is an array of approximate nearest neighbor algorithm configurations and profiles. Supported algorithms include hierarchical navigable small world and exhaustive k-nearest neighbor. For more information, see [Relevance scoring in vector search](vector-search-ranking.md).
392
392
@@ -691,6 +691,7 @@ The vector query string is semantically similar to the search string, but it inc
691
691
]
692
692
}
693
693
```
694
+
694
695
Key takeaways about the [Documents - Search Post](/rest/api/searchservice/documents/search-post) REST API:
695
696
696
697
+ The `vectorQueries.vector` is the vector query string. It's a vector representation of *quintessential lodging near running trails, eateries, retail*, which is vectorized into 1,536 embeddings for this query.
@@ -1028,7 +1029,7 @@ In the vector portion query (*quintessential lodging near running trails, eateri
1028
1029
1029
1030
Here's the last query in the collection. This hybrid query adds L2 semantic ranking that applies machine reading comprehension over the L1-ranked results, promoting more relevant matches to the top.
1030
1031
1031
-
1. Formulate the request.
1032
+
1. Formulate the request.
1032
1033
1033
1034
```http
1034
1035
### Run a hybrid query with semantic reranking
@@ -1112,15 +1113,9 @@ Before semantic reranking, Sublime Palace, with its reference to *walking distan
1112
1113
}
1113
1114
```
1114
1115
1115
-
Key takeaways about [Documents - Search Post](/rest/api/searchservice/documents/search-post) REST API:
1116
-
1117
-
- Vector search is specified through the `vectors.value` property. Keyword search is specified through the `search` property.
1118
-
1119
-
- A hybrid query integrates vector search and keyword search. In a hybrid query, semantic reranking is over the fused results. The semantic ranking models use the text inputs in the query, either the keyword search string or a `semanticQuery` string if you specify it.
1120
-
1121
-
- In this final query, there's no semantic `answer` because the system didn't produce one that was sufficiently strong.
1122
-
1123
-
- Semantically ranked results can include more detail, including semantic answers, captions, and highlights. Adding more parameters to the request produces the extra detail. For more information, see [Set up a semantic query](semantic-how-to-query-request.md?tabs=rest-query#set-up-the-query).
1116
+
> [!TIP]
1117
+
>Semantically ranked results can include more detail, including semantic answers, captions, and highlights. Adding more parameters to the request produces the extra detail. For more information, see [Set up a semantic query](semantic-how-to-query-request.md?tabs=rest-query#set-up-the-query).
0 commit comments