public class ElasticsearchDocumentScore extends ElasticsearchDocumentResult implements DocumentScore
hit| Constructor and Description |
|---|
ElasticsearchDocumentScore(org.elasticsearch.search.SearchHit hit,
com.google.common.base.Function<? super String,? extends com.spatial4j.core.context.SpatialContext> geoContextMapper) |
| Modifier and Type | Method and Description |
|---|---|
float |
getScore() |
Iterable<String> |
getSnippets(String field) |
boolean |
isHighlighted() |
getDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentpublic ElasticsearchDocumentScore(org.elasticsearch.search.SearchHit hit,
com.google.common.base.Function<? super String,? extends com.spatial4j.core.context.SpatialContext> geoContextMapper)
public float getScore()
getScore in interface DocumentScorepublic boolean isHighlighted()
isHighlighted in interface DocumentScorepublic Iterable<String> getSnippets(String field)
getSnippets in interface DocumentScoreCopyright © 2001-2015 Aduna. All Rights Reserved.