Skip to content

Commit b3e36f2

Browse files
author
Matthew Harris
committed
Deactivate Manage for now
1 parent 91e386c commit b3e36f2

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

src/Azure.AISearch.WebApp/Pages/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div class="navbar-nav flex-grow-1">
2424
<a class="nav-link @(this.ViewContext.View.Path.StartsWith("/Pages/Index", StringComparison.OrdinalIgnoreCase) ? "active": "")" asp-page="/Index">Search</a>
2525
<a class="nav-link @(this.ViewContext.View.Path.StartsWith("/Pages/Compare", StringComparison.OrdinalIgnoreCase) ? "active": "")" asp-page="/Compare">Compare</a>
26-
@* mjh <a class="nav-link @(this.ViewContext.View.Path.StartsWith("/Pages/Manage", StringComparison.OrdinalIgnoreCase) ? "active": "")" asp-page="/Manage">Manage</a>
26+
@* mjh <a class="nav-link @(this.ViewContext.View.Path.StartsWith("/Pages/Manage", StringComparison.OrdinalIgnoreCase) ? "active": "")" asp-page="/Manage">Manage</a> *@
2727
</div>
2828
<div class="navbar-nav">
2929
@* mjh <a class="nav-link" href="https://github.com/jelledruyts/azure-ai-search-lab" title="Visit the project homepage on GitHub"><i class="bi bi-github"></i></a> *@

src/Azure.AISearch.WebApp/Services/SearchScenarioProvider.cs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ public IList<SearchScenario> GetSearchScenarios()
1818
return new List<SearchScenario>
1919
{
2020
new SearchScenario
21-
{
22-
Id = "az-cognitivesearch-documents-keyword-standard",
23-
DisplayName = "Azure AI Search - Documents - Keyword - Standard",
24-
Description = "This scenario uses Azure AI Search to perform keyword search across the original documents. It uses the standard ('simple') search mode.",
25-
SearchRequest = new SearchRequest
26-
{
27-
Engine = EngineType.AzureCognitiveSearch,
28-
SearchIndex = SearchIndexType.Documents,
29-
QueryType = QueryType.TextStandard
30-
}
31-
},
32-
new SearchScenario
33-
{
34-
Id = "az-cognitivesearch-documents-keyword-semantic",
35-
DisplayName = "Azure AI Search - Documents - Keyword - Semantic",
36-
Description = "This scenario uses Azure AI Search to perform keyword search across the original documents. It uses semantic ranking which returns more relevant results by applying language understanding to an initial search result.",
37-
SearchRequest = new SearchRequest
38-
{
39-
Engine = EngineType.AzureCognitiveSearch,
40-
SearchIndex = SearchIndexType.Documents,
41-
QueryType = QueryType.TextSemantic
42-
}
43-
},
21+
//{
22+
// Id = "az-cognitivesearch-documents-keyword-standard",
23+
// DisplayName = "Azure AI Search - Documents - Keyword - Standard",
24+
// Description = "This scenario uses Azure AI Search to perform keyword search across the original documents. It uses the standard ('simple') search mode.",
25+
// SearchRequest = new SearchRequest
26+
// {
27+
// Engine = EngineType.AzureCognitiveSearch,
28+
// SearchIndex = SearchIndexType.Documents,
29+
// QueryType = QueryType.TextStandard
30+
// }
31+
//},
32+
//new SearchScenario
33+
//{
34+
// Id = "az-cognitivesearch-documents-keyword-semantic",
35+
// DisplayName = "Azure AI Search - Documents - Keyword - Semantic",
36+
// Description = "This scenario uses Azure AI Search to perform keyword search across the original documents. It uses semantic ranking which returns more relevant results by applying language understanding to an initial search result.",
37+
// SearchRequest = new SearchRequest
38+
// {
39+
// Engine = EngineType.AzureCognitiveSearch,
40+
// SearchIndex = SearchIndexType.Documents,
41+
// QueryType = QueryType.TextSemantic
42+
// }
43+
//},
4444
new SearchScenario
4545
{
4646
Id = "az-cognitivesearch-chunks-text-standard",

0 commit comments

Comments
 (0)