Class IndexResult
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.documents.IndexResult
-
public class IndexResult extends Object
Represents an individual document in an IndexResponse
-
-
Constructor Summary
Constructors Constructor Description IndexResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getErrors()List of errors, if any, while indexing the documentStringgetId()The indexed document's idinthashCode()IndexResultsetErrors(List<String> errors)List of errors, if any, while indexing the documentIndexResultsetId(String id)The indexed document's idStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
The indexed document's id- Returns:
- the document id
-
getErrors
public List<String> getErrors()
List of errors, if any, while indexing the document- Returns:
- list of errors
-
setId
public IndexResult setId(String id)
The indexed document's id- Parameters:
id- the document id- Returns:
this.
-
setErrors
public IndexResult setErrors(List<String> errors)
List of errors, if any, while indexing the document- Parameters:
errors- list of errors- Returns:
this.
-
-