Description
When you specify the fields in the search query you receive an ArgumentNullException . For example:
SearchQuery fc = new SearchQuery();
|
fc.Index = "beer-ft";
|
fc.Highlighting(HighLightStyle.Html);
|
fc.Fields("name", "style");
|
fc.Query = new MatchQuery("american");
|
fc.SearchParams = new SearchParams().Limit(10);
|