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

Update from azure.search 11.4.0-beta.7 to 11.4.0 breaks Classes #117

Closed
markdconnelly opened this issue May 14, 2023 · 2 comments
Closed

Comments

@markdconnelly
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ X ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I have copied the Cognitive Search UI solution several times today and tried to use it as a basis for a new app by copying the code over side by side. I couldnt make sense why the class "SearchResults" on the "DocumentSearchClient.cs" file was breaking. After reloading the source project a few times to compare and contrast, I noticed that the package is using the 11.4.0-beta.7 of Azure.Search.Documents. I did a clean install of that solution and did an upgrade to 11.4.0 and it instantly reproduced the same error.

Any log messages given by the failure

"SearchResults" does not contain a definition for 'Answers' and no accessible extension method 'Answers'
'SearchQueryType' fores not contain a definition for 'Semantic'

Expected/desired behavior

It would be great to have a working example that was using the stable relase instead of a beta release. I even tried to manually find the beta release just to get the example working in my own app, but couldn't find it.

OS and Version?

Windows 11

Versions

Visual Studio 2022

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@markdconnelly
Copy link
Author

Before and after updating the package
Azure Search Documents 11 4 0 Errors
Azure Search Documents 11 4 0-beta 7 No Errors

@markdconnelly
Copy link
Author

I figured out how to get the beta version rolled back and confirmed that resolves the issue, even in my new version of the app.

@gmndrg gmndrg closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants