ข้ามไปยังเนื้อหา

Class RetrievalOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Retrieval.Configuration
Assembly: Cephalon.Retrieval.dll

Configures the built-in retrieval runtime pack.

public sealed class RetrievalOptions

objectRetrievalOptions

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

These options seed the host-owned part of the retrieval runtime. Installed modules can still contribute additional knowledge collections through .

Creates retrieval options with the default host-owned features enabled.

public RetrievalOptions()

Gets the optional collection ids included in background reindexing. When empty, every registered collection is included.

public IList<string> BackgroundReindexCollectionIds { get; }

IList<string>

Gets or sets the startup delay, in seconds, before the first background reindex run.

public int BackgroundReindexInitialDelaySeconds { get; set; }

int

Gets or sets the interval, in seconds, between background reindex runs. Values less than one disable repeated runs after the optional startup run.

public int BackgroundReindexIntervalSeconds { get; set; }

int

Gets the host-defined knowledge collections that should be available to the retrieval runtime.

public IList<KnowledgeCollectionDescriptor> Collections { get; }

IList<KnowledgeCollectionDescriptor>

Gets or sets the default maximum number of matches returned when a query request does not choose one explicitly.

public int DefaultQueryLimit { get; set; }

int

Gets or sets a value indicating whether Cephalon should run the opt-in background reindex scheduler.

public bool EnableBackgroundReindexing { get; set; }

bool

Gets or sets a value indicating whether ingestion features are enabled.

public bool EnableIngestion { get; set; }

bool

Gets or sets a value indicating whether query features are enabled.

public bool EnableQuerying { get; set; }

bool

Gets or sets the number of seconds after which the latest successful index is considered stale for operator reporting.

public int FreshnessStaleAfterSeconds { get; set; }

int

Gets or sets the upper bound applied to query result limits.

public int MaximumQueryLimit { get; set; }

int

Gets or sets a value indicating whether the scheduler should run once when the host starts.

public bool RunBackgroundReindexOnStartup { get; set; }

bool