4 writes to Score
aspire (1)
Mcp\Docs\DocsIndexService.cs (1)
242
Score
= score
Aspire.Cli.Tests (3)
Commands\DocsCommandTests.cs (2)
195
new() { Title = "Redis Integration", Slug = "redis-integration", Summary = "Learn how to use Redis",
Score
= 100.0f, MatchedSection = "Hosting integration" },
196
new() { Title = "Azure Cache for Redis", Slug = "azure-cache-redis", Summary = "Azure Redis integration",
Score
= 80.0f, MatchedSection = "Client integration" }
Mcp\TestDocsIndexService.cs (1)
79
.Select(d => new DocsSearchResult { Slug = d.Slug, Title = d.Title, Summary = d.Summary,
Score
= 1.0f })
6 references to Score
aspire (2)
Mcp\Docs\DocsIndexService.cs (1)
250
.OrderByDescending(static r => r.
Score
)
Mcp\Docs\DocsSearchService.cs (1)
146
Score = r.
Score
Aspire.Cli.Tests (4)
Mcp\Docs\DocsIndexServiceTests.cs (4)
450
Assert.True(results[i - 1].
Score
>= results[i].
Score
,
451
$"Results not in descending score order: {results[i - 1].
Score
} < {results[i].
Score
}");