public class ElasticsearchDocumentResult extends Object implements DocumentResult
Modifier and Type | Field and Description |
---|---|
protected SearchHit |
hit |
Constructor and Description |
---|
ElasticsearchDocumentResult(SearchHit hit,
com.google.common.base.Function<? super String,? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) |
Modifier and Type | Method and Description |
---|---|
SearchDocument |
getDocument()
Returns null if the document no longer exists.
|
public ElasticsearchDocumentResult(SearchHit hit, com.google.common.base.Function<? super String,? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper)
public SearchDocument getDocument()
DocumentResult
getDocument
in interface DocumentResult
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.