public final class SearchIndexerError extends Object
| Constructor and Description |
|---|
SearchIndexerError(String errorMessage,
int statusCode)
Constructor of
SearchIndexerError. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetails()
Get the details property: Additional, verbose details about the error to
assist in debugging the indexer.
|
String |
getDocumentationLink()
Get the documentationLink property: A link to a troubleshooting guide
for these classes of errors.
|
String |
getErrorMessage()
Get the errorMessage property: The message describing the error that
occurred while processing the item.
|
String |
getKey()
Get the key property: The key of the item for which indexing failed.
|
String |
getName()
Get the name property: The name of the source at which the error
originated.
|
int |
getStatusCode()
Get the statusCode property: The status code indicating why the indexing
operation failed.
|
public SearchIndexerError(String errorMessage, int statusCode)
SearchIndexerError.errorMessage - The message describing the error that occurred while processing the item.statusCode - The status code indicating why the indexing operation failed. Possible
values include: 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.public String getKey()
public String getErrorMessage()
public int getStatusCode()
public String getName()
public String getDetails()
public String getDocumentationLink()
Copyright © 2020 Microsoft Corporation. All rights reserved.