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.
  • 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:
      getScore in interface DocumentScore
    • isHighlighted

      public boolean isHighlighted()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isHighlighted in interface DocumentScore
    • getSnippets

      public Iterable<String> getSnippets(String property)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getSnippets in interface DocumentScore