org.eclipse.rdf4j.sail.solr

## Class SolrDocumentDistance

- java.lang.Object
- - org.eclipse.rdf4j.sail.solr.SolrDocumentResult
  - - org.eclipse.rdf4j.sail.solr.SolrDocumentDistance

- All Implemented Interfaces:
    DocumentDistance, DocumentResult

      public class SolrDocumentDistance
      extends SolrDocumentResult
      implements DocumentDistance

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.rdf4j.sail.solr.SolrDocumentResult

      `doc`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrDocumentDistance(SolrSearchDocument doc, IRI units)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getDistance()`

    - ### Methods inherited from class org.eclipse.rdf4j.sail.solr.SolrDocumentResult

      `getDocument`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.eclipse.rdf4j.sail.lucene.DocumentResult

      `getDocument`

- - ### Constructor Detail

    - #### SolrDocumentDistance

          public SolrDocumentDistance(SolrSearchDocument doc,
                                      IRI units)

  - ### Method Detail

    - #### getDistance

          public double getDistance()

      Specified by:
        `getDistance` in interface `DocumentDistance`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.