public ActionResult Index(SearchParameters parameters) { parameters.SetFacetOpenData(); parameters.AddComplexFacetsIfMissing(); var searchResult = _searchService.Search(parameters); var model = new SearchViewModel(parameters, searchResult); model.EnabledFacets = model.FacetsOpenData(); return(View(model)); }