-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Azure Cognitive Search] Need sample showing explicit Field construction #9472
Comments
I found a sample by digging through the sdk sample git history... I think it would be valuable to have a sample like this in current sdk? Or am I swimming upstream on this one? Thanks, Chad |
Hi Chad, There's no sample of building fields explicitly, but there is test code that you can look at: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Microsoft.Azure.Search/tests/Utilities/IndexFixture.cs Let me know if that helps. |
That does help. But I still feel like it needs to be in the samples? |
@chadbr We'll be revisiting samples this year while we update our .NET SDK to meet the new Azure API Guidelines. I'll leave this issue open to track the explicit |
Thank you -- Regards, Chad |
* Internalize SearchFieldTemplate.Save * Add example to create an index Fixes #9472
A couple of years back - the index definitions changed to use attributes:
#2427
Is there a sample of doing it 'the old way'?
I have models from source code I don't control... I need to build indexes on them.
Is there a sample of how to do this without having to rebuild the models with search / index attributes?
The text was updated successfully, but these errors were encountered: