org.eclipse.rdf4j.sail.solr

## Class SolrDocumentResult

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

- All Implemented Interfaces:
    DocumentResult
  Direct Known Subclasses:
    SolrDocumentDistance, SolrDocumentScore

      public class SolrDocumentResult
      extends Object
      implements DocumentResult

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected SolrSearchDocument` | `doc`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SolrDocumentResult(SolrSearchDocument doc)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SearchDocument` | `getDocument()` Returns null if the document no longer exists.

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

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

- - ### Field Detail

    - #### doc

          protected final SolrSearchDocument doc

  - ### Constructor Detail

    - #### SolrDocumentResult

          public SolrDocumentResult(SolrSearchDocument doc)

  - ### Method Detail

    - #### getDocument

          public SearchDocument getDocument()

      Description copied from interface: `DocumentResult`
      Returns null if the document no longer exists.
      Specified by:
        `getDocument` in interface `DocumentResult`

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