Class ElasticsearchDocumentResult

java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchDocumentResult
All Implemented Interfaces:
DocumentResult
Direct Known Subclasses:
ElasticsearchDocumentDistance, ElasticsearchDocumentScore

@Deprecated(since="5.3.0", forRemoval=true) public class ElasticsearchDocumentResult extends Object implements DocumentResult
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
    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
    ElasticsearchDocumentResult(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
    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
  • Field Details

    • hit

      protected final org.elasticsearch.search.SearchHit hit
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • ElasticsearchDocumentResult

      public ElasticsearchDocumentResult(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

    • getDocument

      public SearchDocument getDocument()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: DocumentResult
      Returns null if the document no longer exists.
      Specified by:
      getDocument in interface DocumentResult