4 instantiations of DocsSearchResult
aspire (1)
Documentation\Docs\DocsIndexService.cs (1)
376.Select(static r => new DocsSearchResult
Aspire.Cli.Tests (3)
Commands\DocsCommandTests.cs (2)
295new() { Title = "Redis Integration", Slug = "redis-integration", Summary = "Learn how to use Redis", Score = 100.0f, MatchedSection = "Hosting integration" }, 296new() { 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 })
8 references to DocsSearchResult
aspire (2)
Documentation\Docs\DocsIndexService.cs (2)
42ValueTask<IReadOnlyList<DocsSearchResult>> SearchAsync(string query, int topK = 10, CancellationToken cancellationToken = default); 309public async ValueTask<IReadOnlyList<DocsSearchResult>> SearchAsync(string query, int topK = 10, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (6)
Commands\DocsCommandTests.cs (4)
291public ValueTask<IReadOnlyList<DocsSearchResult>> SearchAsync(string query, int topK = 10, CancellationToken cancellationToken = default) 293var results = new List<DocsSearchResult> 298return ValueTask.FromResult<IReadOnlyList<DocsSearchResult>>(results.Take(topK).ToList() as IReadOnlyList<DocsSearchResult>);
Mcp\TestDocsIndexService.cs (2)
73public ValueTask<IReadOnlyList<DocsSearchResult>> SearchAsync(string query, int topK = 10, CancellationToken cancellationToken = default) 82return ValueTask.FromResult<IReadOnlyList<DocsSearchResult>>(results);