I want to do a full text search on HTML files in the blob storage.I have created an azure search service, added data source to the service and created index and indexer through Azure portal.
I tested the Azure search service in the portal using Search explorer.It works fine.
But I wanted to display the search results in Console window using c# code instead of testing on search explorer.
Do I have to write a POJO class for DataSource even if data source for the service is created through Azure Portal
Followig is the code snippet
SearchServiceClient serviceClient = new SearchServiceClient(searchServiceName, new SearchCredentials(searchServiceKey));
ISearchIndexClient indexClient = serviceClient.Indexes.GetClient(indexName);
DocumentSearchResult searchResults = indexClient.Documents.Search(searchText);
I want to convert search results object to readable text and display in Console window. I tried Base64Decode method but no expected result. Please help me through this issue.
Thanks in advance!!!