Class ElasticsearchDocumentScore
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentResult
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentScore
- All Implemented Interfaces:
DocumentResult, DocumentScore
public class ElasticsearchDocumentScore
extends ElasticsearchDocumentResult
implements DocumentScore
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchDocumentScore(co.elastic.clients.elasticsearch.core.search.Hit<Map<String, Object>> hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) -
Method Summary
Methods inherited from class ElasticsearchDocumentResult
getDocumentModifier and TypeMethodDescriptionReturns null if the document no longer exists.
-
Constructor Details
-
ElasticsearchDocumentScore
-
-
Method Details
-
getScore
public float getScore()- Specified by:
getScorein interfaceDocumentScore
-
isHighlighted
public boolean isHighlighted()- Specified by:
isHighlightedin interfaceDocumentScore
-
getSnippets
- Specified by:
getSnippetsin interfaceDocumentScore
-