Skip to content

Class KnowledgeIndexingResult

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

Describes the result of a managed indexing attempt.

public sealed record KnowledgeIndexingResult : IEquatable<KnowledgeIndexingResult>

objectKnowledgeIndexingResult

IEquatable<KnowledgeIndexingResult>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

KnowledgeIndexingResult(string, string, string, DateTimeOffset, DateTimeOffset?, DateTimeOffset?, int, string?, IReadOnlyDictionary<string, string>)

Section titled “ KnowledgeIndexingResult(string, string, string, DateTimeOffset, DateTimeOffset?, DateTimeOffset?, int, string?, IReadOnlyDictionary<string, string>)”

Describes the result of a managed indexing attempt.

public KnowledgeIndexingResult(string CollectionId, string RunId, string Outcome, DateTimeOffset ObservedAtUtc, DateTimeOffset? IndexedAtUtc, DateTimeOffset? SourceFreshnessUtc, int DocumentCount, string? Error, IReadOnlyDictionary<string, string> Metadata)

CollectionId string

The collection identifier that was indexed.

RunId string

The stable indexing run identifier.

Outcome string

The stable indexing outcome identifier.

ObservedAtUtc DateTimeOffset

The UTC timestamp when the outcome was observed.

IndexedAtUtc DateTimeOffset?

The UTC timestamp when the replacement index was published.

SourceFreshnessUtc DateTimeOffset?

The newest source-document timestamp observed during indexing.

DocumentCount int

The number of documents stored in the replacement index.

Error string?

The operator-facing error summary when indexing failed.

Metadata IReadOnlyDictionary<string, string>

Optional operator-facing metadata captured with the result.

The collection identifier that was indexed.

public string CollectionId { get; init; }

string

The number of documents stored in the replacement index.

public int DocumentCount { get; init; }

int

The operator-facing error summary when indexing failed.

public string? Error { get; init; }

string?

The UTC timestamp when the replacement index was published.

public DateTimeOffset? IndexedAtUtc { get; init; }

DateTimeOffset?

Optional operator-facing metadata captured with the result.

public IReadOnlyDictionary<string, string> Metadata { get; init; }

IReadOnlyDictionary<string, string>

The UTC timestamp when the outcome was observed.

public DateTimeOffset ObservedAtUtc { get; init; }

DateTimeOffset

The stable indexing outcome identifier.

public string Outcome { get; init; }

string

The stable indexing run identifier.

public string RunId { get; init; }

string

The newest source-document timestamp observed during indexing.

public DateTimeOffset? SourceFreshnessUtc { get; init; }

DateTimeOffset?