Partilhar via


AnalyticsPurviewDataMapModelFactory.SearchResultValue Method

Definition

Initializes a new instance of SearchResultValue.

public static Azure.Analytics.Purview.DataMap.SearchResultValue SearchResultValue (float? searchScore = default, Azure.Analytics.Purview.DataMap.SearchHighlights searchHighlights = default, string objectType = default, long? createTime = default, long? updateTime = default, string id = default, string name = default, string qualifiedName = default, string entityType = default, string description = default, string endorsement = default, string owner = default, System.Collections.Generic.IEnumerable<string> classification = default, System.Collections.Generic.IEnumerable<string> label = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Purview.DataMap.TermSearchResultValue> term = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Purview.DataMap.ContactSearchResultValue> contact = default, System.Collections.Generic.IEnumerable<string> assetType = default, string glossaryType = default, string glossary = default, string termStatus = default, System.Collections.Generic.IEnumerable<string> termTemplate = default, string longDescription = default);
static member SearchResultValue : Nullable<single> * Azure.Analytics.Purview.DataMap.SearchHighlights * string * Nullable<int64> * Nullable<int64> * string * string * string * string * string * string * string * seq<string> * seq<string> * seq<Azure.Analytics.Purview.DataMap.TermSearchResultValue> * seq<Azure.Analytics.Purview.DataMap.ContactSearchResultValue> * seq<string> * string * string * string * seq<string> * string -> Azure.Analytics.Purview.DataMap.SearchResultValue
Public Shared Function SearchResultValue (Optional searchScore As Nullable(Of Single) = Nothing, Optional searchHighlights As SearchHighlights = Nothing, Optional objectType As String = Nothing, Optional createTime As Nullable(Of Long) = Nothing, Optional updateTime As Nullable(Of Long) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional qualifiedName As String = Nothing, Optional entityType As String = Nothing, Optional description As String = Nothing, Optional endorsement As String = Nothing, Optional owner As String = Nothing, Optional classification As IEnumerable(Of String) = Nothing, Optional label As IEnumerable(Of String) = Nothing, Optional term As IEnumerable(Of TermSearchResultValue) = Nothing, Optional contact As IEnumerable(Of ContactSearchResultValue) = Nothing, Optional assetType As IEnumerable(Of String) = Nothing, Optional glossaryType As String = Nothing, Optional glossary As String = Nothing, Optional termStatus As String = Nothing, Optional termTemplate As IEnumerable(Of String) = Nothing, Optional longDescription As String = Nothing) As SearchResultValue

Parameters

searchScore
Nullable<Single>

The search score calculated by the search engine. The results are ordered by search score by default.

searchHighlights
SearchHighlights

A highlight list that consists of index fields id ,qualifiedName, name, description, entityType. When the keyword appears in those fields, the value of the field, attached with emphasis mark, is returned as an element of @search.highlights.

objectType
String

The object type of the record. Object type is the top-level property to distinguish whether a record is an asset or a term.

createTime
Nullable<Int64>

The create time of the record. The Unix epoch format.

updateTime
Nullable<Int64>

The last update time of the record. The Unix epoch format.

id
String

The GUID of the record.

name
String

The name of the record.

qualifiedName
String

The qualified name of the record.

entityType
String

The type name of the asset.

description
String

The description of the asset.

endorsement
String

The endorsement of the asset.

owner
String

The owner of the record.

classification
IEnumerable<String>

The classifications of the record.

label
IEnumerable<String>

The labels of the asset.

term
IEnumerable<TermSearchResultValue>

The terms assigned to the asset.

contact
IEnumerable<ContactSearchResultValue>

The contacts of the asset.

assetType
IEnumerable<String>

The asset types of the asset.

glossaryType
String

The type name of the term. Could be AtlasGlossary, AtlasGlossaryTerm or AtlasGlossaryCategory.

glossary
String

The glossary name of the term.

termStatus
String

The status of the term.

termTemplate
IEnumerable<String>

The term template names used by the term.

longDescription
String

The definition of the term.

Returns

A new SearchResultValue instance for mocking.

Applies to