IndexingResult Class

Definition

Status of an indexing operation for a single document.

public class IndexingResult
type IndexingResult = class
Public Class IndexingResult
Inheritance
IndexingResult

Constructors

IndexingResult()

Initializes a new instance of the IndexingResult class.

IndexingResult(String, String, Boolean, Int32)

Initializes a new instance of the IndexingResult class.

Properties

ErrorMessage

Gets the error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded.

Key

Gets the key of a document that was in the indexing request.

StatusCode

Gets 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

Gets a value indicating whether the indexing operation succeeded for the document identified by the key.

Applies to