Closed MattiaSanna-M closed 9 months ago
🤖
Thank you for sharing the details of the issue and the solution you found! It's great to see that you were able to make the necessary modifications to make it compatible with the latest version of azure-search-documents
. Your contribution is valuable and will likely help others facing a similar compatibility issue. Keep up the good work!
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
Bug Description
Hello! I had to update my
azure-search-documents
to the latest stable version, and unfortunately, thecogsearch.py
has compatibility issues.The problem is caused because in azure-search-documents v11.4.0b10 (2023-10-10) they renamed
Vector
asVectorizedQuery
.I needed to do two things to make it compatible with the latest version. Firstly, I substituted each Vector call within the
cogsearch.py
with the following:Moreover, accordingly to
azure-search-documents
changelog you need to modify the parametervector
within the_search_client.search
intovector_queries
(There are two calls within the cogsearch.py code).I was able to then run it without problems :)
I hope it helps!
Version
0.9.35
Steps to Reproduce
azure-search-index
v 11.4.0.Relevant Logs/Tracbacks
No response