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 IKnowledgeIndexCatalogProperties
Section titled “Properties”States
Section titled “ States”Gets the latest index state reported for registered knowledge collections.
IReadOnlyList<KnowledgeIndexState> States { get; }Property Value
Section titled “Property Value”IReadOnlyList<KnowledgeIndexState>
Methods
Section titled “Methods”GetByCollectionId(string)
Section titled “ GetByCollectionId(string)”Gets the latest index state for a collection when one exists.
KnowledgeIndexState? GetByCollectionId(string collectionId)Parameters
Section titled “Parameters”collectionId string
The collection identifier to resolve.
Returns
Section titled “Returns”The latest state for the collection, or null when no activity has been recorded.
TryGet(string, out KnowledgeIndexState?)
Section titled “ TryGet(string, out KnowledgeIndexState?)”Attempts to resolve the latest index state for a collection.
bool TryGet(string collectionId, out KnowledgeIndexState? state)Parameters
Section titled “Parameters”collectionId string
The collection identifier to resolve.
state KnowledgeIndexState?
When this method returns, contains the state if one was recorded.