Azure / Azure/azure-search-vector-samples

Cannot find nested property 'contentVector' on the resource type 'Microsoft.Azure.Search.V2023_07_01_Preview.Vector'."

Open
#57 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
910
Forks
377
PR merge metrics
No merged PRs in 30d

Description

Hello,

following the quick start vector search, everything is fine until the search on the contentVector field. From the UI in Azure Portal, I see that contentVector field is OK.

Then I try a POST request from Postman like this :
https://.search.windows.net/indexes//docs/search?api-version=2023-07-01-Preview
with a body similar to the documentation.

Finally, I get this 400 error :

"The request is invalid. Details: Cannot find nested property 'contentVector' on the resource type 'Microsoft.Azure.Search.V2023_07_01_Preview.Vector'."

Switching to "fields": "titleVector" in the body gives me the same issue, including the reference to nested property 'contentVector' .

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the quick start vector search documentation and reproduce the POST request in Postman against the 2023-07-01-Preview search endpoint. Compare the request body and the index's contentVector or titleVector definitions, then confirm that the corrected example no longer returns the nested-property error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, postman
Domain
api, cloud, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.