Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve async search client handling #17319

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

logan-markewich
Copy link
Collaborator

Fixes #15350

The code here is kind of a mess, but did my best to salvage what I could. I think the main issue stems from the user not passing in an async client (or sync), which is then set to None, and will fail when those operations take place.

This PR updates so that you can pass both clients in. Furthermore, an error is logged if you only pass one in.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 19, 2024
@logan-markewich logan-markewich merged commit 6019481 into main Dec 19, 2024
10 of 11 checks passed
@logan-markewich logan-markewich deleted the logan/azure_ai_search_fix branch December 19, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Azure Search Client does not get propagated via VectorStoreIndex
1 participant