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
    Modifier and Type
    Field
    Description
    protected final org.elasticsearch.search.SearchHit
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    float
    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.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class ElasticsearchDocumentResult

    getDocument
    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns null if the document no longer exists.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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