Skip to content

Commit ed3206c

Browse files
committed
doc bug, limit on vector fields in a query
1 parent 79bb97b commit ed3206c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

articles/search/search-limits-quotas-capacity.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: HeidiSteen
88
ms.author: heidist
99
ms.service: azure-ai-search
1010
ms.topic: conceptual
11-
ms.date: 04/14/2025
11+
ms.date: 04/30/2025
1212
ms.custom:
1313
- references_regions
1414
- build-2024
@@ -241,6 +241,7 @@ Indexing APIs:
241241

242242
Query APIs:
243243

244+
+ Maximum 10 fields in a vector query
244245
+ Maximum 32 fields in $orderby clause.
245246
+ Maximum 100,000 characters in a search clause.
246247
+ Maximum number of clauses in search is 3,000.

articles/search/vector-search-how-to-query.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: azure-ai-search
99
ms.custom:
1010
- build-2024
1111
ms.topic: how-to
12-
ms.date: 03/11/2025
12+
ms.date: 04/30/2025
1313
---
1414

1515
# Create a vector query in Azure AI Search
@@ -98,8 +98,11 @@ This section shows you the basic structure of a vector query. You can use the Az
9898
+ `vectorQueries` is the construct for vector search.
9999
+ `vectorQueries.kind` set to `vector` for a vector array, or set to `text` if the input is a string and [you have a vectorizer](#query-with-integrated-vectorization).
100100
+ `vectorQueries.vector` is query (a vector representation of text or an image).
101+
+ `vectorQueries.exhaustive` (optional) invokes exhaustive KNN at query time, even if the field is indexed for HNSW.
102+
+ `vectorQueries.fields` (optional) targets specific fields for query execution (up to 10 per query).
101103
+ `vectorQueries.weight` (optional) specifies the relative weight of each vector query included in search operations (see [Vector weighting](#vector-weighting)).
102-
+ `exhaustive` (optional) invokes exhaustive KNN at query time, even if the field is indexed for HNSW.
104+
+ `vectorQueries.k` is the number of matches to return.
105+
103106

104107
In the following example, the vector is a representation of this string: "what Azure services support full text search". The query targets the `contentVector` field. The query returns `k` results. The actual vector has 1536 embeddings, so it's trimmed in this example for readability.
105108

@@ -257,7 +260,9 @@ If you do want vector fields in the result, here's an example of the response st
257260

258261
## Multiple vector fields
259262

260-
You can set the "vectorQueries.fields" property to multiple vector fields. The vector query executes against each vector field that you provide in the `fields` list. When querying multiple vector fields, make sure each one contains embeddings from the same embedding model, and that the query is also generated from the same embedding model.
263+
You can set the "vectorQueries.fields" property to multiple vector fields. The vector query executes against each vector field that you provide in the `fields` list. You can specify up to 10 fields.
264+
265+
When querying multiple vector fields, make sure each one contains embeddings from the same embedding model, and that the query is also generated from the same embedding model.
261266

262267
```http
263268
POST https://{{search-service-name}}.search.windows.net/indexes/{{index-name}}/docs/search?api-version=2024-07-01

0 commit comments

Comments
 (0)