IndexingResult Class
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.
Status of an indexing operation for a single document.
public class IndexingResult : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Models.IndexingResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Models.IndexingResult>
type IndexingResult = class
interface IJsonModel<IndexingResult>
interface IPersistableModel<IndexingResult>
Public Class IndexingResult
Implements IJsonModel(Of IndexingResult), IPersistableModel(Of IndexingResult)
- Inheritance
-
IndexingResult
- Implements
Properties
ErrorMessage |
The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded. |
Key |
The key of a document that was in the indexing request. |
Status |
The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy. |
Succeeded |
A value indicating whether the indexing operation succeeded for the document identified by the key. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<IndexingResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<IndexingResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<IndexingResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<IndexingResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<IndexingResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |