diff --git a/app/shared/Shared/Services/AzureSearchEmbedService.cs b/app/shared/Shared/Services/AzureSearchEmbedService.cs index ab31d2b8..68266ac0 100644 --- a/app/shared/Shared/Services/AzureSearchEmbedService.cs +++ b/app/shared/Shared/Services/AzureSearchEmbedService.cs @@ -132,7 +132,7 @@ public async Task CreateSearchIndexAsync(string searchIndexName, CancellationTok new SearchableField("content") { AnalyzerName = LexicalAnalyzerName.EnMicrosoft }, new SimpleField("category", SearchFieldDataType.String) { IsFacetable = true }, new SimpleField("sourcepage", SearchFieldDataType.String) { IsFacetable = true }, - new SimpleField("sourcefile", SearchFieldDataType.String) { IsFacetable = true }, + new SimpleField("sourcefile", SearchFieldDataType.String) { IsFacetable = true, IsFilterable = true }, new SearchField("embedding", SearchFieldDataType.Collection(SearchFieldDataType.Single)) { VectorSearchDimensions = 1536,