1 instantiation of IndexedDocument
aspire (1)
Documentation\Docs\DocsIndexService.cs (1)
224var indexedDocuments = documents.Select(static d => new IndexedDocument(d)).ToList();
10 references to IndexedDocument
aspire (10)
Documentation\Docs\DocsIndexService.cs (10)
144private volatile List<IndexedDocument>? _indexedDocuments; 222private List<IndexedDocument> SetIndexedDocuments(IEnumerable<LlmsDocument> documents) 230private static Dictionary<string, float> BuildTokenIdf(IReadOnlyList<IndexedDocument> documents) 235foreach (var document in documents) 337foreach (var doc in _indexedDocuments) 425var doc = _indexedDocuments.FirstOrDefault(d => 485IndexedDocument doc, 656private static bool IsReleaseNotesDocument(IndexedDocument doc) 660private static bool HasReleaseNotesIdentityMatch(IndexedDocument doc, string[] queryTokens, string queryAsSlug, float slugScore) 1104private readonly record struct SearchCandidate(IndexedDocument Document, string? MatchedSection, float Score, int DocumentIndex);