Interface IKnowledgeIndexer
Namespace: Cephalon.Abstractions.Retrieval
Assembly: Cephalon.Abstractions.dll
Builds and replaces managed indexes for registered knowledge collections.
public interface IKnowledgeIndexerMethods
Section titled “Methods”IndexAsync(KnowledgeIndexingRequest, CancellationToken)
Section titled “ IndexAsync(KnowledgeIndexingRequest, CancellationToken)”Indexes the documents supplied by providers for the requested collection.
ValueTask<KnowledgeIndexingResult> IndexAsync(KnowledgeIndexingRequest request, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”request KnowledgeIndexingRequest
The indexing request to execute.
cancellationToken CancellationToken
A token that can cancel the indexing run.
Returns
Section titled “Returns”ValueTask<KnowledgeIndexingResult>
The final indexing result recorded for operator introspection.