SearchModelFactory.KnowledgeBaseIndexedSqlActivityRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an indexed SQL retrieval activity record.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSqlActivityRecord KnowledgeBaseIndexedSqlActivityRecord(int id = 0, DateTimeOffset? startedOn = default, DateTimeOffset? completedOn = default, int? elapsedMs = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail error = default, string warning = default, string knowledgeSourceName = default, DateTimeOffset? queryOn = default, int? count = default, Azure.Search.Documents.KnowledgeBases.Models.ImageServingStatistics imageServing = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSqlActivityArguments indexedSqlArguments = default, Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseQueryHintProcessing queryHintProcessing = default);
static member KnowledgeBaseIndexedSqlActivityRecord : int * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseErrorDetail * string * string * Nullable<DateTimeOffset> * Nullable<int> * Azure.Search.Documents.KnowledgeBases.Models.ImageServingStatistics * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSqlActivityArguments * Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseQueryHintProcessing -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseIndexedSqlActivityRecord
Public Shared Function KnowledgeBaseIndexedSqlActivityRecord (Optional id As Integer = 0, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional completedOn As Nullable(Of DateTimeOffset) = Nothing, Optional elapsedMs As Nullable(Of Integer) = Nothing, Optional error As KnowledgeBaseErrorDetail = Nothing, Optional warning As String = Nothing, Optional knowledgeSourceName As String = Nothing, Optional queryOn As Nullable(Of DateTimeOffset) = Nothing, Optional count As Nullable(Of Integer) = Nothing, Optional imageServing As ImageServingStatistics = Nothing, Optional indexedSqlArguments As KnowledgeBaseIndexedSqlActivityArguments = Nothing, Optional queryHintProcessing As KnowledgeBaseQueryHintProcessing = Nothing) As KnowledgeBaseIndexedSqlActivityRecord
Parameters
- id
- Int32
The ID of the activity record.
- startedOn
- Nullable<DateTimeOffset>
The time at which the activity started.
- completedOn
- Nullable<DateTimeOffset>
The time at which the activity completed.
- error
- KnowledgeBaseErrorDetail
The error detail explaining why the operation failed. This property is only included when the activity does not succeed.
- warning
- String
A warning message surfacing potential configuration issues observed during the activity, such as documents dropped due to score thresholding, token limit truncation, or timeout conditions.
- knowledgeSourceName
- String
The knowledge source for the retrieval activity.
- queryOn
- Nullable<DateTimeOffset>
The query time for this retrieval activity.
The count of documents retrieved that were sufficiently relevant to pass the reranker threshold.
- imageServing
- ImageServingStatistics
Statistics about image serving for this retrieval activity.
- indexedSqlArguments
- KnowledgeBaseIndexedSqlActivityArguments
The indexed SQL arguments for the retrieval activity.
- queryHintProcessing
- KnowledgeBaseQueryHintProcessing
Details about the expressions generated from query hints for this activity.
Returns
A new KnowledgeBaseIndexedSqlActivityRecord instance for mocking.