Пример #1
0
 public HomeController(IConfiguration configuration)
 {
     _configuration       = configuration;
     _docSearch           = new DocumentSearchClient(configuration);
     _idField             = _configuration.GetSection("KeyField")?.Value;
     _isPathBase64Encoded = (_configuration.GetSection("IsPathBase64Encoded")?.Value == "True");
 }
Пример #2
0
 public FacetGraphGenerator(DocumentSearchClient searchClient)
 {
     _searchHelper = searchClient;
 }