Esempio n. 1
0
        public async Task <DocumentSuggestResponse <MarchMadnessTweet> > SearchSuggest()
        {
            IsBusy = true;

            if (SearchString.Length < 3)
            {
                return(null);
            }

            // create our search client
            var client = new AzureSearchClient();

            // get the results
            var result = await client.Suggest <MarchMadnessTweet>(SearchString);

            IsBusy = false;

            return(result);
        }