Class ElasticsearchDocumentScore
java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentResult
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentScore
- All Implemented Interfaces:
DocumentResult, DocumentScore
@Deprecated(since="5.3.0",
forRemoval=true)
public class ElasticsearchDocumentScore
extends ElasticsearchDocumentResult
implements DocumentScore
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in preparation for an Elasticsearch client upgrade; this API will change or be removed in a
future release.
-
Field Summary
Fields inherited from class ElasticsearchDocumentResult
hit -
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchDocumentScore(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfloatgetScore()Deprecated, for removal: This API element is subject to removal in a future version.getSnippets(String property) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class ElasticsearchDocumentResult
getDocumentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DocumentResult
getDocument
-
Constructor Details
-
ElasticsearchDocumentScore
public ElasticsearchDocumentScore(org.elasticsearch.search.SearchHit hit, com.google.common.base.Function<? super String, ? extends org.locationtech.spatial4j.context.SpatialContext> geoContextMapper) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getScore
public float getScore()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getScorein interfaceDocumentScore
-
isHighlighted
public boolean isHighlighted()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isHighlightedin interfaceDocumentScore
-
getSnippets
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSnippetsin interfaceDocumentScore
-