2 instantiations of IndexedDocument
aspire (2)
Mcp\Docs\DocsIndexService.cs (2)
156
_indexedDocuments = [.. cachedDocuments.Select(static d => new
IndexedDocument
(d))];
175
_indexedDocuments = [.. documents.Select(static d => new
IndexedDocument
(d))];
4 references to IndexedDocument
aspire (4)
Mcp\Docs\DocsIndexService.cs (4)
126
private volatile List<
IndexedDocument
>? _indexedDocuments;
230
foreach (
var
doc in _indexedDocuments)
264
var
doc = _indexedDocuments.FirstOrDefault(d =>
297
private static (float Score, string? MatchedSection) ScoreDocument(
IndexedDocument
doc, string[] queryTokens, string queryAsSlug)