Skip to content

Class KnowledgeDocument

Namespace: Cephalon.Retrieval.Services
Assembly: Cephalon.Retrieval.dll

Describes one source document that can be indexed by the managed retrieval runtime.

public sealed class KnowledgeDocument

object ← KnowledgeDocument

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

KnowledgeDocument(string, string, string, Uri?, IReadOnlyList<string>?, DateTimeOffset?, IReadOnlyDictionary<string, string>?)

Section titled “ KnowledgeDocument(string, string, string, Uri?, IReadOnlyList<string>?, DateTimeOffset?, IReadOnlyDictionary<string, string>?)”

Creates a knowledge document for managed indexing.

public KnowledgeDocument(string id, string title, string content, Uri? uri = null, IReadOnlyList<string>? tags = null, DateTimeOffset? lastModifiedAtUtc = null, IReadOnlyDictionary<string, string>? metadata = null)

id string

The stable document identifier within its collection.

title string

The human-readable document title.

content string

The searchable document content.

uri Uri?

An optional document URI for operator drill-down.

tags IReadOnlyList<string>?

Optional tags that classify the document.

lastModifiedAtUtc DateTimeOffset?

The UTC timestamp when the source document was last modified.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata attached to the document.

Gets the searchable document content.

public string Content { get; }

string

Gets the stable document identifier within its collection.

public string Id { get; }

string

Gets the UTC timestamp when the source document was last modified.

public DateTimeOffset? LastModifiedAtUtc { get; }

DateTimeOffset?

Gets optional operator-facing metadata attached to the document.

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

IReadOnlyDictionary<string, string>

Gets the normalized tags that classify the document.

public IReadOnlyList<string> Tags { get; }

IReadOnlyList<string>

Gets the human-readable document title.

public string Title { get; }

string

Gets an optional document URI for operator drill-down.

public Uri? Uri { get; }

Uri?