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