Description
- 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:
- Install azure-search-documents version 11.6.0b12 (as of now the most recent version found in PyCharm's python packages)
- Insert "from azure.search.documents.indexes.models import VectorSearchField" into a blank file
- 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!