Skip to content

Interface IKnowledgeIndexCatalog

Namespace: Cephalon.Abstractions.Retrieval
Assembly: Cephalon.Abstractions.dll

Exposes operator-facing index and query execution state for the active retrieval runtime.

public interface IKnowledgeIndexCatalog

Gets the latest index state reported for registered knowledge collections.

IReadOnlyList<KnowledgeIndexState> States { get; }

IReadOnlyList<KnowledgeIndexState>

Gets the latest index state for a collection when one exists.

KnowledgeIndexState? GetByCollectionId(string collectionId)

collectionId string

The collection identifier to resolve.

KnowledgeIndexState?

The latest state for the collection, or null when no activity has been recorded.

Attempts to resolve the latest index state for a collection.

bool TryGet(string collectionId, out KnowledgeIndexState? state)

collectionId string

The collection identifier to resolve.

state KnowledgeIndexState?

When this method returns, contains the state if one was recorded.

bool

true when state exists; otherwise false.