Created
June 28, 2017 09:12
-
-
Save gmantri/417b8527d5350f5b2cdd6119f1b2f387 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static async void SearchTest() | |
{ | |
var credentials = new SearchCredentials("myaccountkey"); | |
var indexClient = new SearchIndexClient("mysearchservicename", "myindexname", credentials); | |
var searchResults = await indexClient.Documents.SearchAsync("filename:'건국화원'"); | |
Console.WriteLine(searchResults.Results.Count);//Prints 1 | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment