public class ElasticsearchDocumentResult extends Object implements DocumentResult
| Modifier and Type | Field and Description | 
|---|---|
| protected org.elasticsearch.search.SearchHit | hit | 
| Constructor and Description | 
|---|
| ElasticsearchDocumentResult(org.elasticsearch.search.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(org.elasticsearch.search.SearchHit hit,
                                   com.google.common.base.Function<? super String,? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper)
public SearchDocument getDocument()
DocumentResultgetDocument in interface DocumentResultCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.