IsSearchable not recognized when creating azure search index

Since you’re instantiating FieldBuilder, I assume you’re using Azure.Search.Documents. In that case, you need to use the new attributes we added, such as SearchableFieldAttribute. The previous attributes effectively correspond to properties. See https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/search/Azure.Search.Documents/samples/Sample04_FieldBuilderIgnore.md for an example.

Microsoft.Azure.Search will soon be deprecated, BTW.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top