Skip to content

VectorSearchField not found in azure-search-documents #41613

Open
@JJisActive

Description

@JJisActive
  • Package Name: azure-search-documents
  • Package Version: 11.6.0b12
  • Operating System: macOS Sequoia 15.5
  • Python Version: Python 3.13 (running in PyCharm CE)

Describe the bug
Upon attempting to import VectorSearchField from azure.search.documents.indexes.models I am presented with an error "Cannot find reference 'VectorSearchField' in 'init.py' ". Other fields like SimpleField and SearchableField can be imported without a problem.
Looking at the Microsoft learn documentation 'VectorSearchField' has API support starting at 11.6.0.

To Reproduce
Steps to reproduce the behavior:

  1. Install azure-search-documents version 11.6.0b12 (as of now the most recent version found in PyCharm's python packages)
  2. Insert "from azure.search.documents.indexes.models import VectorSearchField" into a blank file
  3. Coding editor should display the "Cannot find reference 'VectorSearchField' in 'init.py' " error.

Expected behavior
The expected behavior is to use VectorSearchField similar to SimpleField and SearchableField when creating an index.

My overall goal is to run the whole "Import and vectorize data" process found on Microsoft Azure's webpage in python. Due to VectorSearchField not being available I can not make a "retrievable = true" vectorized index field.

Thank you and have a nice day!

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Searchcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions