Dela via


SearchModelFactory.SearchIndexerWarning Method

Definition

Initializes a new instance of SearchIndexerWarning.

public static Azure.Search.Documents.Indexes.Models.SearchIndexerWarning SearchIndexerWarning (string key, string message, string name, string details, string documentationLink);
static member SearchIndexerWarning : string * string * string * string * string -> Azure.Search.Documents.Indexes.Models.SearchIndexerWarning
Public Shared Function SearchIndexerWarning (key As String, message As String, name As String, details As String, documentationLink As String) As SearchIndexerWarning

Parameters

key
String

The key of the item which generated a warning.

message
String

The message describing the warning that occurred while processing the item.

name
String

The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available.

details
String

Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available.

documentationLink
String

A link to a troubleshooting guide for these classes of warnings. This may not be always available.

Returns

A new SearchIndexerWarning instance for mocking.

Applies to