Class SolrSearchDocument

java.lang.Object
org.eclipse.rdf4j.sail.solr.SolrSearchDocument
All Implemented Interfaces:
SearchDocument

@Deprecated(since="5.3.0", forRemoval=true) public class SolrSearchDocument extends Object implements SearchDocument
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.3.0. Solr integration is deprecated for removal; use alternative Lucene-backed search implementations instead.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    SolrSearchDocument(String id, String resourceId, String context)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    SolrSearchDocument(org.apache.solr.common.SolrDocument doc)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds/creates a new property with the given name.
    void
    addProperty(String name, String text)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Adds a value to the property with the given name.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.apache.solr.common.SolrDocument
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a set of the property names.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    hasProperty(String name, String value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Checks whether a field occurs with a specified value in a Document.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SolrSearchDocument

      public SolrSearchDocument()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SolrSearchDocument

      public SolrSearchDocument(org.apache.solr.common.SolrDocument doc)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • SolrSearchDocument

      public SolrSearchDocument(String id, String resourceId, String context)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getDocument

      public org.apache.solr.common.SolrDocument getDocument()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getId

      public String getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getId in interface SearchDocument
    • getResource

      public String getResource()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getResource in interface SearchDocument
    • getContext

      public String getContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getContext in interface SearchDocument
    • getPropertyNames

      public Set<String> getPropertyNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchDocument
      Returns a set of the property names.
      Specified by:
      getPropertyNames in interface SearchDocument
    • addProperty

      public void addProperty(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchDocument
      Adds/creates a new property with the given name.
      Specified by:
      addProperty in interface SearchDocument
    • addProperty

      public void addProperty(String name, String text)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchDocument
      Adds a value to the property with the given name.
      Specified by:
      addProperty in interface SearchDocument
    • addGeoProperty

      public void addGeoProperty(String name, String text)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      addGeoProperty in interface SearchDocument
    • hasProperty

      public boolean hasProperty(String name, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchDocument
      Checks whether a field occurs with a specified value in a Document.
      Specified by:
      hasProperty in interface SearchDocument
    • getProperty

      public List<String> getProperty(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getProperty in interface SearchDocument