I'm trying to use the Azure Cognitive Search UI. I have cloned the repository for the Knowledge Mining solution accelerator (git clone https://github.com/Azure-Samples/azure-search-knowledge-mining.git). When running the solution, it throws a system null reference exception (Object reference not set to an instance of an object) pointing out the Home Controller file.
Does anyone know how to solve this issue?
Thanks, Frank
public ActionResult Suggest(string term, bool fuzzy = true) { var response = _docSearch.Autocomplete(term, fuzzy); List<string> suggestions = new List<string>(); if (response != null) { foreach (var result in response.Results) { suggestions.Add(result.Text); } }
– user15074364