List of usage examples for com.amazonaws.services.cloudsearchdomain.model Hit getId
public String getId()
The document ID of a document that matches the search request.
From source file:com.clicktravel.infrastructure.persistence.aws.cloudsearch.CloudSearchEngine.java
License:Apache License
private <T extends Document> T getDocument(final Hit hit, final Class<T> documentClass, final Map<String, PropertyDescriptor> properties) throws Exception { final T document = fieldParser.unmarshall(hit.getFields(), documentClass); document.setId(hit.getId()); return document; }